summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorkj <28750310+Fidget-Spinner@users.noreply.github.com>2020-10-27 21:37:18 (GMT)
committerGitHub <noreply@github.com>2020-10-27 21:37:18 (GMT)
commit4173320920706b49a004bdddd8d7108e8984e3fc (patch)
treee7c3b37468cd6d3daf31933192ed2fdfa449b263 /Doc/glossary.rst
parent35b95aaf21534e4a8e3370dfd6f7482265316c9e (diff)
downloadcpython-4173320920706b49a004bdddd8d7108e8984e3fc.zip
cpython-4173320920706b49a004bdddd8d7108e8984e3fc.tar.gz
cpython-4173320920706b49a004bdddd8d7108e8984e3fc.tar.bz2
bpo-41805: Documentation for PEP 585 (GH-22615)
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 847500e..4fd01e0 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -483,6 +483,13 @@ Glossary
See also the :term:`single dispatch` glossary entry, the
: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 <type hint>` and
+ :term:`annotations <annotation>`.
+
+ See :pep:`483` for more details, and :mod:`typing` or
+ :ref:`generic alias type <types-genericalias>` for its uses.
GIL
See :term:`global interpreter lock`.