mirror of
https://github.com/python/cpython
synced 2024-09-15 23:36:24 +00:00
Remove reference to `Tuple
at top of
typing
` docs (GH-29401)
``typing.Tuple`` has been deprecated since Python 3.9, so it makes no sense to mention it so prominently in the documentation for the ``typing`` module.
This commit is contained in:
parent
2c045bd567
commit
87032cfa3d
|
@ -18,10 +18,9 @@
|
|||
--------------
|
||||
|
||||
This module provides runtime support for type hints. The most fundamental
|
||||
support consists of the types :data:`Any`, :data:`Union`, :data:`Tuple`,
|
||||
:data:`Callable`, :class:`TypeVar`, and :class:`Generic`. For a full
|
||||
specification, please see :pep:`484`. For a simplified introduction to type
|
||||
hints, see :pep:`483`.
|
||||
support consists of the types :data:`Any`, :data:`Union`, :data:`Callable`,
|
||||
:class:`TypeVar`, and :class:`Generic`. For a full specification, please see
|
||||
:pep:`484`. For a simplified introduction to type hints, see :pep:`483`.
|
||||
|
||||
|
||||
The function below takes and returns a string and is annotated as follows::
|
||||
|
|
Loading…
Reference in a new issue