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 pass
def unload(self): def unload(self):
pass pass
def LoadedModule(object): class LoadedModule(object):
def __init__(self, name: str, module: BaseModule, context: str, def __init__(self,
name: str,
module: BaseModule,
context: str,
import_name: str): import_name: str):
self.name = name self.name = name
self.module = module self.module = module