| commit | bc9ce4f9a4e1f38f85fab58328e8dd86741dab45 | [log] [tgz] |
|---|---|---|
| author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Fri Jun 16 08:15:21 2023 -0700 |
| committer | GitHub <noreply@github.com> | Fri Jun 16 08:15:21 2023 -0700 |
| tree | 86f5e37572e316f9cc9fc38261327f4536e3c1ec | |
| parent | 38bb6e867be1331d708cddc0dbc9cef756f23224 [diff] |
Backport NamedTuple and TypedDict deprecations from Python 3.13 (#240)
The typing_extensions module serves two related purposes:
typing.TypeGuard is new in Python 3.10, but typing_extensions allows users on previous Python versions to use it too.typing module.typing_extensions uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it's safe to depend on typing_extensions like this: typing_extensions >=x.y, <(x+1), where x.y is the first version that includes all features you need.
typing_extensions supports Python versions 3.7 and higher.
See the documentation for a complete listing of module contents.
To run tests, navigate into the src/ directory and run test_typing_extensions.py.