11Code in this repository should follow CPython's style guidelines and
22contributors need to sign the PSF Contributor Agreement.
33
4- # typing_extensions
4+ # typing \_ extensions
55
66The ` typing_extensions ` module provides a way to access new features from the standard
77library ` typing ` module in older versions of Python. For example, Python 3.10 adds
@@ -18,19 +18,13 @@ standard library, so that users can experiment with them before they are added t
1818standard library. Such features should ideally already be specified in a PEP or draft
1919PEP.
2020
21- ` typing_extensions ` still supports all Python versions supported by ` typing ` , down to
22- Python 2.7 and 3.4. However, it is OK to omit support for Python versions that have
23- reached end of life if doing so is too difficult or otherwise does not make sense. For
24- example, ` typing_extensions.AsyncGenerator ` only exists on Python 3.6 and higher,
25- because async generators were added to the language in 3.6.
21+ ` typing_extensions ` supports Python versions 3.6 an up.
2622
2723# Versioning scheme
2824
29- The version number of ` typing_extensions ` indicates the version of the standard library ` typing `
30- module that is reflected in the backport. For example, ` typing_extensions ` version
31- 3.10.0.0 includes features from the Python 3.10.0 standard library's ` typing ` module. A
32- new release that doesn't include any new standard library features would be called
33- 3.10.0.1.
25+ Starting with version 4.0.0, ` typing_extensions ` uses
26+ [ Semantic Versioning] ( https://semver.org/ ) . The major version is incremented for all
27+ backwards-incompatible changes.
3428
3529# Workflow for PyPI releases
3630
0 commit comments