Skip to content

Commit 975d10a

Browse files
[doc] Add mentions of PEP 613 (TypeAlias) to docs (GH-22733)
1 parent a22a19f commit 975d10a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/typing.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
--------------
1919

2020
This module provides runtime support for type hints as specified by
21-
:pep:`484`, :pep:`526`, :pep:`544`, :pep:`586`, :pep:`589`, and :pep:`591`.
21+
:pep:`484`, :pep:`526`, :pep:`544`, :pep:`586`, :pep:`589`, :pep:`591`, and :pep:`613`.
2222
The most fundamental support consists of the types :data:`Any`, :data:`Union`,
2323
:data:`Tuple`, :data:`Callable`, :class:`TypeVar`, and
2424
:class:`Generic`. For full specification please see :pep:`484`. For
@@ -500,6 +500,8 @@ These can be used as types in annotations and do not support ``[]``.
500500

501501
Factors: TypeAlias = list[int]
502502

503+
See :pep:`613` for more details about explicit type aliases.
504+
503505
.. versionadded:: 3.10
504506

505507
Special forms

0 commit comments

Comments
 (0)