def LoadedModule -> class LoadedModule

This commit is contained in:
jesopo 2018-12-09 11:18:55 +00:00
parent 6935c926dc
commit 91beadd1cd

View file

@ -35,8 +35,11 @@ class BaseModule(object):
pass
def unload(self):
pass
def LoadedModule(object):
def __init__(self, name: str, module: BaseModule, context: str,
class LoadedModule(object):
def __init__(self,
name: str,
module: BaseModule,
context: str,
import_name: str):
self.name = name
self.module = module