Skip to content

Commit 073b270

Browse files
authored
Update issues numbers for builtins.function (#12580)
1 parent 98af3eb commit 073b270

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/builtins.pyi

+3-1
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,9 @@ class tuple(Sequence[_T_co]):
968968
if sys.version_info >= (3, 9):
969969
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
970970

971-
# Doesn't exist at runtime, but deleting this breaks mypy. See #2999
971+
# Doesn't exist at runtime, but deleting this breaks mypy and pyright. See:
972+
# https://github.com/python/typeshed/issues/7580
973+
# https://github.com/python/mypy/issues/8240
972974
@final
973975
@type_check_only
974976
class function:

0 commit comments

Comments
 (0)