From d7aaf442f022af2979342d271a667efeba82592d Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Sat, 1 Nov 2025 14:49:45 +0100 Subject: [PATCH] Remove typing._promote Part of #7580 --- stdlib/typing.pyi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 2ca65dad4562..e3e5d1ff2842 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -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):