Skip to content

Commit 30bbf02

Browse files
authored
Add PEP 613 TypeAlias stub to typing_extensions (#4243)
1 parent e05fbab commit 30bbf02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

third_party/2and3/typing_extensions.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@ def get_type_hints(
7171

7272
Annotated: _SpecialForm = ...
7373
_AnnotatedAlias: Any = ... # undocumented
74+
75+
# TypeAlias is a (non-subscriptable) special form.
76+
TypeAlias: object

0 commit comments

Comments
 (0)