Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed typing_extensions.pyi to declare its own private version of `…
…Protocol` (#7133) Changed typing_extensions.pyi to declare its own private version of `Protocol` and `runtime_checkable` rather than re-exporting the symbols 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.
- Loading branch information