mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Update cachingGetHelp to match callbacks.getHelp's prototype
This commit is contained in:
parent
c936897488
commit
026a683dec
@ -56,9 +56,9 @@ suites = []
|
||||
|
||||
originalCallbacksGetHelp = callbacks.getHelp
|
||||
lastGetHelp = 'x'*1000
|
||||
def cachingGetHelp(method, name=None):
|
||||
def cachingGetHelp(method, name=None, doc=None):
|
||||
global lastGetHelp
|
||||
lastGetHelp = originalCallbacksGetHelp(method, name)
|
||||
lastGetHelp = originalCallbacksGetHelp(method, name, doc)
|
||||
return lastGetHelp
|
||||
callbacks.getHelp = cachingGetHelp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user