We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug autodoc can't detect overloaded methods defined in other file.
To Reproduce
# example.py from typing import overload class Foo: @overload def __init__(self, x: int) -> None: ... @overload def __init__(self, x: float) -> None: ... def __init__(self, x): return x
# example2.py from example import Foo class Bar(Foo): pass
# index.rst .. automodule:: example2 :members: :undoc-members:
Expected behavior The constructor of Bar class should be represented as two types.
Bar
Your project No
Screenshots No
Environment info
Additional context No
The text was updated successfully, but these errors were encountered:
Fix sphinx-doc#7786: autodoc: can't detect overloaded methods defined…
aef166e
… in other file
ff2874b
17d59df
6dbe28a
Merge pull request #8283 from tk0miya/7786_overloads_in_other_file
0476e1c
Fix #7786: autodoc: can't detect overloaded methods defined in other file
No branches or pull requests
Describe the bug
autodoc can't detect overloaded methods defined in other file.
To Reproduce
Expected behavior
The constructor of
Bar
class should be represented as two types.Your project
No
Screenshots
No
Environment info
Additional context
No
The text was updated successfully, but these errors were encountered: