From ce3094cc5ee8ceea91ebbd0efed581bc8a338cd5 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Mon, 3 Nov 2025 09:27:19 +0100 Subject: [PATCH] Remove typing._promote (#14958) Part of #7580 --- stdlib/typing.pyi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 2ca65dad4..e3e5d1ff2 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):