From 77a2c77c84d2ead2d19f96df862c119308e90071 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 6 Nov 2021 18:00:45 +0000 Subject: [PATCH] [doc] bpo-45680: Improve glossary entry for generic types (GH-29388) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Langa --- Doc/glossary.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 1f14946fa13..ccbfc0e6c36 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -510,12 +510,13 @@ Glossary :func:`functools.singledispatch` decorator, and :pep:`443`. generic type - A :term:`type` that can be parameterized; typically a container like - :class:`list`. Used for :term:`type hints ` and + A :term:`type` that can be parameterized; typically a + :ref:`container class` such as :class:`list` or + :class:`dict`. Used for :term:`type hints ` and :term:`annotations `. - See :pep:`483` for more details, and :mod:`typing` or - :ref:`generic alias type ` for its uses. + For more details, see :ref:`generic alias types`, + :pep:`483`, :pep:`484`, :pep:`585`, and the :mod:`typing` module. GIL See :term:`global interpreter lock`.