diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-06-07 13:43:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 13:43:00 (GMT) |
commit | 18309ad94bb1ae0b092f34dc3fd54199876a6ebd (patch) | |
tree | 724c2807f349738d6a75dca7576324c57b99424f /Lib | |
parent | e26d296984b2b6279231922ab0940d904aa6144e (diff) | |
download | cpython-18309ad94bb1ae0b092f34dc3fd54199876a6ebd.zip cpython-18309ad94bb1ae0b092f34dc3fd54199876a6ebd.tar.gz cpython-18309ad94bb1ae0b092f34dc3fd54199876a6ebd.tar.bz2 |
gh-105430: Remove `typing._Immutable` unused internal helper (#105434)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/typing.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/typing.py b/Lib/typing.py index b6c8d8a..307b26f 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -419,17 +419,6 @@ class _Final: 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. |