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 #8567: autodoc: Instance attributes are incorrectly added to Parent class #8571

Merged
merged 1 commit into from Dec 22, 2020

Commits on Dec 21, 2020

  1. Fix sphinx-doc#8567: autodoc: Instance attributes are incorrectly add…

    …ed to Parent class
    
    The instance attributes on subclasses are shown on the document of
    parent class unexpectedly because of autodoc modifies `__annotations__`
    in place.  This fix creates a copy of `__annotations__` attribute and
    attach it to the subclass.
    tk0miya committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    70bb226 View commit details
    Browse the repository at this point in the history