From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 6 Nov 2021 18:21:36 +0000 (-0700) Subject: [doc] bpo-45680: Improve glossary entry for generic types (GH-29388) (GH-29447) X-Git-Tag: v3.10.1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=494f8da741054e5bab33f23f3961400ea5778235;p=thirdparty%2FPython%2Fcpython.git [doc] bpo-45680: Improve glossary entry for generic types (GH-29388) (GH-29447) Co-authored-by: Ɓukasz Langa (cherry picked from commit 77a2c77c84d2ead2d19f96df862c119308e90071) Co-authored-by: Alex Waygood --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 652f8d919607..40b57bd41e8c 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -520,12 +520,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`.