]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)
authorMeer Suri <46469858+meersuri@users.noreply.github.com>
Tue, 8 Mar 2022 04:04:04 +0000 (12:04 +0800)
committerGitHub <noreply@github.com>
Tue, 8 Mar 2022 04:04:04 +0000 (20:04 -0800)
Doc/library/typing.rst

index bfcbeb8c7e680863eca702fd67acf31a7a2e689c..935a2613626582aac7d1db7f783c91ffece56979 100644 (file)
@@ -32,6 +32,10 @@ In the function ``greeting``, the argument ``name`` is expected to be of type
 :class:`str` and the return type :class:`str`. Subtypes are accepted as
 arguments.
 
+New features are frequently added to the ``typing`` module.
+The `typing_extensions <https://pypi.org/project/typing-extensions/>`_ package
+provides backports of these new features to older versions of Python.
+
 .. _relevant-peps:
 
 Relevant PEPs