def __init__(self, format,globals,locals=None,
                 codec='utf_8',encoding_errors='backslashreplace'):

        if locals is None:
            locals = globals
        self.globals = globals
        self.locals = locals
        Itpl.__init__(self,format,codec,encoding_errors)
ItplNS(format,globals[,locals]) -> interpolating string instance.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/external/Itpl/_Itpl.py/ItplNS.__init__