Fix docstrings for method decorators, fixes #1621
This commit is contained in:
1 parent
59ccd2da93
commit
9a54e583e7
3 files changed
+31
-2
No files matched your search
@@ -119,7 +119,9 @@ def execute(callback):
|
||||
else:
|
||||
return call()
|
||||
|
||||
if value.is_bound_method():
|
||||
if value.is_bound_method() or value.is_instance():
|
||||
# value can be an instance for example if it is a partial
|
||||
# object.
|
||||
return call()
|
||||
|
||||
# for now we just support builtin functions.
|
||||
|
||||
Reference in new issue
Block a user