Show More
@@ -68,7 +68,8 b' def mangle_docstrings(app, what, name, obj, options, lines,' | |||
|
68 | 68 | def mangle_signature(app, what, name, obj, options, sig, retann): |
|
69 | 69 | # Do not try to inspect classes that don't define `__init__` |
|
70 | 70 | if (inspect.isclass(obj) and |
|
71 | 'initializes x; see ' in pydoc.getdoc(obj.__init__)): | |
|
71 | (not hasattr(obj, '__init__') or | |
|
72 | 'initializes x; see ' in pydoc.getdoc(obj.__init__))): | |
|
72 | 73 | return '', '' |
|
73 | 74 | |
|
74 | 75 | if not (callable(obj) or hasattr(obj, '__argspec_is_invalid_')): return |
General Comments 0
You need to be logged in to leave comments.
Login now