Show More
@@ -377,7 +377,8 b' def wrapcommand(table, command, wrapper,' | |||||
377 | break |
|
377 | break | |
378 |
|
378 | |||
379 | origfn = entry[0] |
|
379 | origfn = entry[0] | |
380 |
wrap = |
|
380 | wrap = functools.partial(util.checksignature(wrapper), | |
|
381 | util.checksignature(origfn)) | |||
381 | _updatewrapper(wrap, origfn, wrapper) |
|
382 | _updatewrapper(wrap, origfn, wrapper) | |
382 | if docstring is not None: |
|
383 | if docstring is not None: | |
383 | wrap.__doc__ += docstring |
|
384 | wrap.__doc__ += docstring |
General Comments 0
You need to be logged in to leave comments.
Login now