diff --git a/Lib/typing.py b/Lib/typing.py index 3dda940b07accb..0983f20f9b276f 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -425,17 +425,6 @@ def __init_subclass__(cls, /, *args, **kwds): if '_root' not in kwds: raise TypeError("Cannot subclass special typing classes") -class _Immutable: - """Mixin to indicate that object should not be copied.""" - - __slots__ = () - - def __copy__(self): - return self - - def __deepcopy__(self, memo): - return self - class _NotIterable: """Mixin to prevent iteration, without being compatible with Iterable.