@@ -11,7 +11,7 @@ _U = TypeVar("_U")
1111# Internal mypy fallback type for all typed dicts (does not exist at runtime)
1212# N.B. Keep this mostly in sync with typing(_extensions)._TypedDict
1313@type_check_only
14- @deprecated ("mypy_extensions ._TypedDict package is deprecated " )
14+ @deprecated ("Use typing ._TypedDict instead " )
1515class _TypedDict (Mapping [str , object ], metaclass = abc .ABCMeta ):
1616 __total__ : ClassVar [bool ]
1717 # Unlike typing(_extensions).TypedDict,
@@ -38,7 +38,7 @@ class _TypedDict(Mapping[str, object], metaclass=abc.ABCMeta):
3838 # supposedly incompatible definitions of `__or__` and `__ior__`:
3939 def __ior__ (self , value : Self , / ) -> Self : ... # type: ignore[misc]
4040
41- @deprecated ("mypy_extensions .TypedDict is deprecated, use typing .TypedDict instead" )
41+ @deprecated ("Use typing .TypedDict or typing_extensions .TypedDict instead" )
4242def TypedDict (typename : str , fields : dict [str , type [Any ]], total : bool = ...) -> type [dict [str , Any ]]: ...
4343@overload
4444def Arg (type : _T , name : str | None = ...) -> _T : ...
@@ -67,7 +67,7 @@ def KwArg() -> Any: ...
6767
6868# Return type that indicates a function does not return.
6969# Deprecated: Use typing.NoReturn instead.
70- @deprecated ("mypy_extensions.NoReturn is deprecated, use typing.NoReturn or typing.Never instead" )
70+ @deprecated ("Use typing.NoReturn or typing.Never instead" )
7171class NoReturn : ...
7272
7373# This is consistent with implementation. Usage intends for this as
0 commit comments