mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +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