commit | bb75d261196aa6f520d1b80b373891c860ebb71b | [log] [tgz] |
---|---|---|
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Fri May 26 23:12:31 2023 -0700 |
committer | GitHub <noreply@github.com> | Sat May 27 08:12:31 2023 +0200 |
tree | 4c4674b43910000e249fa93a7bd429c81aeacba5 | |
parent | 0d453f507d21197fcb2bb9a0a2b6fcbb816821c9 [diff] |
Sync LICENSE with CPython (#205)
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
.