Remove typing._promote (#14958)

Part of #7580
This commit is contained in:
Sebastian Rittau
2025-11-03 09:27:19 +01:00
committed by GitHub
parent f5d7efa8bf
commit ce3094cc5e
-4
View File
@@ -222,10 +222,6 @@ class TypeVar:
@property
def evaluate_default(self) -> EvaluateFunc | None: ...
# Used for an undocumented mypy feature. Does not exist at runtime.
# Obsolete, use _typeshed._type_checker_internals.promote instead.
_promote = object()
# N.B. Keep this definition in sync with typing_extensions._SpecialForm
@final
class _SpecialForm(_Final):