Skip to content

Commit b45e6cf

Browse files
authored
Make TypeAlias stub a valid annotation (#4354)
1 parent 9efc9d8 commit b45e6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/2and3/typing_extensions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ Annotated: _SpecialForm = ...
9292
_AnnotatedAlias: Any = ... # undocumented
9393

9494
# TypeAlias is a (non-subscriptable) special form.
95-
TypeAlias: object
95+
class TypeAlias: ...

0 commit comments

Comments
 (0)