summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2021-11-04 11:48:40 (GMT)
committerGitHub <noreply@github.com>2021-11-04 11:48:40 (GMT)
commit87032cfa3dc975d7442fd57dea2c6a56d31c911a (patch)
treeed74435ab42e388cee2e59f6617439dc6d75d5b1 /Doc/library/typing.rst
parent2c045bd5673d56c3fdde7536da9df1c7d6f270f0 (diff)
downloadcpython-87032cfa3dc975d7442fd57dea2c6a56d31c911a.zip
cpython-87032cfa3dc975d7442fd57dea2c6a56d31c911a.tar.gz
cpython-87032cfa3dc975d7442fd57dea2c6a56d31c911a.tar.bz2
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.
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r--Doc/library/typing.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 79ca2e9..c37e97e 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -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::