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 #8099: autodoc: NameError is raised when script uses TYPE_CHECKING #8108

Merged
merged 2 commits into from Aug 14, 2020

Commits on Aug 13, 2020

  1. Fix sphinx-doc#8099: autodoc: NameError is raised when script uses TY…

    …PE_CHECKING
    
    `typing.get_type_hints()` raises NameError when the target object
    contains unresolavable type annotation (ex. TYPE_CHECKING).  This
    handles the exception and use unresolved annotations for type hints.
    tk0miya committed Aug 13, 2020
    Copy the full SHA
    611fff9 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. Copy the full SHA
    d391212 View commit details
    Browse the repository at this point in the history