Skip to content
New issue

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

Fix #8041: autodoc: An ivar on super class is not shown unexpectedly #8042

Merged
merged 1 commit into from Aug 7, 2020

Commits on Aug 7, 2020

  1. Fix sphinx-doc#8041: autodoc: An ivar on super class is not shown une…

    …xpectedly
    
    An annotated instance variable on super class is not documented when
    derived class has also other annotated instance variables because
    `obj.__annotations__` is overrided by derived class's type hints.
    
    To get annotations of the target class correctly, this scans MRO to
    get all of annotated instance variables.
    tk0miya committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    88b2ec6 View commit details
    Browse the repository at this point in the history