bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)

This commit is contained in:
Meer Suri 2022-03-08 12:04:04 +08:00 committed by GitHub
parent 7a793a388b
commit 8debeed307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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