Skip to content

Commit 4531374

Browse files
authored
Make typing_extensions.TypedDict a distinct symbol to typing.TypedDict (#15943)
1 parent 8e6a886 commit 4531374

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

stdlib/typing_extensions.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ from typing import ( # noqa: Y022,Y037,Y038,Y039,UP035
5959
Tuple as Tuple,
6060
Type as Type,
6161
TypeAlias as TypeAlias,
62-
TypedDict as TypedDict,
6362
TypeGuard as TypeGuard,
6463
TypeVar as _TypeVar,
6564
Union as Union,
@@ -233,6 +232,8 @@ Literal: _SpecialForm
233232

234233
def IntVar(name: str) -> Any: ... # returns a new TypeVar
235234

235+
TypedDict: _SpecialForm
236+
236237
# Internal mypy fallback type for all typed dicts (does not exist at runtime)
237238
# N.B. Keep this mostly in sync with typing._TypedDict/mypy_extensions._TypedDict
238239
@type_check_only

0 commit comments

Comments
 (0)