mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)
This commit is contained in:
parent
7a793a388b
commit
8debeed307
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