Skip to content

Commit 0abae9e

Browse files
committed
fix collections.abc.Callable and typing.Callable
1 parent ad3d849 commit 0abae9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/typing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ class _SpecialForm(_Final):
237237

238238
Union: _SpecialForm
239239
Protocol: _SpecialForm
240-
Callable: _SpecialForm
241240
Type: _SpecialForm
242241
NoReturn: _SpecialForm
243242
ClassVar: _SpecialForm
@@ -424,6 +423,7 @@ class _Alias:
424423
# Class for defining generic aliases for library types.
425424
def __getitem__(self, typeargs: Any) -> Any: ...
426425

426+
Callable = _Alias()
427427
List = _Alias()
428428
Dict = _Alias()
429429
DefaultDict = _Alias()

0 commit comments

Comments
 (0)