Пример #1
0
 def __init__(self, module):
     name = module.__name__
     path = os.path.dirname(module.__file__)
     description = ('', '', imp.PKG_DIRECTORY)
     ImpLoader.__init__(self, name, None, path, description)
Пример #2
0
 def __init__(self, fullname, file, filename, etc):
     object.__init__(self)
     ImpLoader.__init__(self, fullname, file, filename, etc)
Пример #3
0
 def __init__(self, module):
     name = module.__name__
     path = os.path.dirname(module.__file__)
     description = ("", "", imp.PKG_DIRECTORY)
     ImpLoader.__init__(self, name, None, path, description)