diff options
author | Meer Suri <46469858+meersuri@users.noreply.github.com> | 2022-03-08 04:04:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 04:04:04 (GMT) |
commit | 8debeed3075bf4d7e568e65da16bec63cf276f4f (patch) | |
tree | 646912b44f5f56c92f2fc3fdc419dce2ed8dc88a /Doc | |
parent | 7a793a388b017be635ea41ef75b0fd8bcf75a309 (diff) | |
download | cpython-8debeed3075bf4d7e568e65da16bec63cf276f4f.zip cpython-8debeed3075bf4d7e568e65da16bec63cf276f4f.tar.gz cpython-8debeed3075bf4d7e568e65da16bec63cf276f4f.tar.bz2 |
bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/typing.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index bfcbeb8..935a261 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 |