diff options
author | kj <28750310+Fidget-Spinner@users.noreply.github.com> | 2020-10-27 21:37:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 21:37:18 (GMT) |
commit | 4173320920706b49a004bdddd8d7108e8984e3fc (patch) | |
tree | e7c3b37468cd6d3daf31933192ed2fdfa449b263 /Doc/glossary.rst | |
parent | 35b95aaf21534e4a8e3370dfd6f7482265316c9e (diff) | |
download | cpython-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.rst | 7 |
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`. |