Copy typechecker-internal symbols to _typeshed._type_checker_internals (#13816)

This commit is contained in:
Sebastian Rittau
2025-05-11 16:07:53 +02:00
committed by GitHub
parent 4118cf8a45
commit b444909873
3 changed files with 94 additions and 0 deletions
+1
View File
@@ -1011,6 +1011,7 @@ class tuple(Sequence[_T_co]):
# Doesn't exist at runtime, but deleting this breaks mypy and pyright. See:
# https://github.com/python/typeshed/issues/7580
# https://github.com/python/mypy/issues/8240
# Obsolete, use types.FunctionType instead.
@final
@type_check_only
class function: