mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)
(cherry picked from commit 8debeed307)
Co-authored-by: Meer Suri <46469858+meersuri@users.noreply.github.com>
This commit is contained in:
parent
e83f084084
commit
0c718e02f6
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue