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 #8091: autodoc: AttributeError is raised on documenting an attribute #8092

Merged

Commits on Aug 10, 2020

  1. Fix sphinx-doc#8091: autodoc: AttributeError is raised on documenting…

    … an attribute
    
    Until Python 3.5.2, typing.get_type_hints() raises AttributeError if
    given object does not have `__code__` attribute.  This handles the
    exception not to crash building documents.
    
    Note: The AttributeError was fixed at 3.5.3
    refs: python/cpython@991d14f
    tk0miya committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    bb09f92 View commit details
    Browse the repository at this point in the history