bugfix
This commit is contained in:
parent
e9011c55ac
commit
806c75f3b9
@ -14,6 +14,14 @@ class RegisterFunction:
|
||||
return self.registKW.get(name,None)
|
||||
|
||||
|
||||
def getRegisterFunctionByName(name):
|
||||
rf = RegisterFunction()
|
||||
return rf.get(name)
|
||||
|
||||
def registerFunction(name, func):
|
||||
rf = RegisterFunction()
|
||||
rf.register(name, func)
|
||||
|
||||
if __name__ == '__main__':
|
||||
def x(a):
|
||||
print('x():a=',a)
|
||||
|
Loading…
Reference in New Issue
Block a user