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:
Alex Waygood 2021-11-04 11:48:40 +00:00 committed by GitHub
parent 2c045bd567
commit 87032cfa3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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::