Fix #6047: autodoc: `autofunction` emits a warning for method objects

This commit is contained in:
Takeshi KOMIYA
2019-02-17 18:22:12 +09:00
parent 8f0b49a4cf
commit 08cd23a0bb
4 changed files with 20 additions and 0 deletions

View File

@@ -4,5 +4,10 @@ class Callable():
def __call__(self, arg1, arg2, **kwargs):
pass
def method(self, arg1, arg2):
"""docstring of Callable.method()."""
pass
function = Callable()
method = function.method