Files
sphinx/tests/roots/test-ext-autodoc
Eric Wieser d229b120ad Fix autoclass signature parsing
This fixes:
* Signatures defined by __new__
* Signatures defined by metaclasses
* Signatures defined by builtin base classes

All of these changes bring the sphinx docs inline with the behavior of `inspect.signature`.

Note that this changes autodoc to output `.. py:class: MyClass()` with parentheses even if no user-defined __init__ is present.
This is quite deliberate, as if no user-defined `__init__` is present the default is `object.__init__`, which indeed does not take arguments.
2020-05-28 08:36:56 +01:00
..
2020-05-28 08:36:56 +01:00
2018-02-19 23:20:56 +09:00
2018-02-19 23:20:56 +09:00
2018-02-19 23:20:56 +09:00