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

Changed typing_extensions.pyi to declare its own private version of Protocol #7133

Merged
merged 3 commits into from
Feb 5, 2022

Commits on Feb 5, 2022

  1. Changed typing_extensions.pyi to declare its own private version of `…

    …Protocol` rather than re-exporting the symbol imported from `typing`. This allows pyright to warn users about runtime exceptions when they attempt to use typing.Protocol on versions of Python prior to 3.7.
    msfterictraut committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    3f3ab38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7a46a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    817e5f5 View commit details
    Browse the repository at this point in the history