Skip to content

Commit 75ed2ce

Browse files
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. (cherry picked from commit 87032cf) Co-authored-by: Alex Waygood <[email protected]>
1 parent c108966 commit 75ed2ce

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/typing.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
--------------
1919

2020
This module provides runtime support for type hints. The most fundamental
21-
support consists of the types :data:`Any`, :data:`Union`, :data:`Tuple`,
22-
:data:`Callable`, :class:`TypeVar`, and :class:`Generic`. For a full
23-
specification, please see :pep:`484`. For a simplified introduction to type
24-
hints, see :pep:`483`.
21+
support consists of the types :data:`Any`, :data:`Union`, :data:`Callable`,
22+
:class:`TypeVar`, and :class:`Generic`. For a full specification, please see
23+
:pep:`484`. For a simplified introduction to type hints, see :pep:`483`.
2524

2625

2726
The function below takes and returns a string and is annotated as follows::

0 commit comments

Comments
 (0)