Пример #1
0
def test_namespace():
    ns = tugalib_namespace(forbidden=False)
Пример #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)
Пример #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)