示例#1
0
def _add_builtins(names=__all__):
    for name in names:
        try:
            add2builtin(name, getattr(sys.modules[__name__], name))
        except AttributeError:
            pass
示例#2
0
def _add_builtins(names=__all__):
    for name in names:
        add2builtin(name, getattr(sys.modules[__name__], name))