This commit is contained in:
Antonio Valentino 2017-08-20 11:48:13 +02:00
parent d454bb7472
commit 849c19c0e5

View File

@ -490,7 +490,7 @@ else:
return doc
return None
if inspect.ismethod(obj) and getattr(obj, '__self__' , None):
if inspect.ismethod(obj) and getattr(obj, '__self__', None):
name = obj.__func__.__name__
self = obj.__self__
if (inspect.isclass(self) and