diff --git a/stdlib/typing_extensions.pyi b/stdlib/typing_extensions.pyi index 8f8ec0cfc8e0..0f6e19cb9f6a 100644 --- a/stdlib/typing_extensions.pyi +++ b/stdlib/typing_extensions.pyi @@ -59,7 +59,6 @@ from typing import ( # noqa: Y022,Y037,Y038,Y039,UP035 Tuple as Tuple, Type as Type, TypeAlias as TypeAlias, - TypedDict as TypedDict, TypeGuard as TypeGuard, TypeVar as _TypeVar, Union as Union, @@ -233,6 +232,8 @@ Literal: _SpecialForm def IntVar(name: str) -> Any: ... # returns a new TypeVar +TypedDict: _SpecialForm + # Internal mypy fallback type for all typed dicts (does not exist at runtime) # N.B. Keep this mostly in sync with typing._TypedDict/mypy_extensions._TypedDict @type_check_only