Skip to content

Commit 541a35a

Browse files
authored
Update "generic type" term on glossary.rst
1 parent 9159287 commit 541a35a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/glossary.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,12 @@ Glossary
678678
:func:`functools.singledispatch` decorator, and :pep:`443`.
679679

680680
generic type
681-
A :term:`type` that can be parameterized; typically a
682-
:ref:`container class<sequence-types>` such as :class:`list` or
683-
:class:`dict`. Used for :term:`type hints <type hint>` and
684-
:term:`annotations <annotation>`.
681+
A :term:`type` that can have type arguments; typically
682+
a :ref:`container class<sequence-types>` such as :class:`list` or :class:`dict`.
683+
Used for :term:`type hints <type hint>` and :term:`annotations <annotation>`.
684+
Created by a :ref:`generic-classes <generic class>`,
685+
:term:`generic-functions <generic function>`
686+
or :ref:`generic-type-aliases <generic type alias>`.
685687

686688
For more details, see :ref:`generic alias types<types-genericalias>`,
687689
:pep:`483`, :pep:`484`, :pep:`585`, and the :mod:`typing` module.

0 commit comments

Comments
 (0)