Esempio n. 1
0
def test_namespace():
    ns = tugalib_namespace(forbidden=False)
Esempio n. 2
0
 def __init__(self, locals=None, filename='<console>', forbidden=True):
     tuga_ns = core.tugalib_namespace(forbidden=forbidden)
     locals = locals if locals is not None else {}
     locals.update(tuga_ns)
     super().__init__(locals, filename)
Esempio n. 3
0
 def __init__(self, locals=None, filename='<console>', forbidden=True):
     tuga_ns = core.tugalib_namespace(forbidden=forbidden)
     locals = locals if locals is not None else {}
     locals.update(tuga_ns)
     super().__init__(locals, filename)