summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-09 17:02:49 (GMT)
committerGuido van Rossum <guido@python.org>2016-10-09 17:02:49 (GMT)
commit5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b (patch)
treee31d41f8dd1357ae8fef98928384e264769cc262
parent4145c8380699f7af14ae15179e01652e25f0d102 (diff)
downloadcpython-5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b.zip
cpython-5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b.tar.gz
cpython-5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b.tar.bz2
Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py.
-rw-r--r--Lib/typing.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index 557fa58..35d562e 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -1668,9 +1668,6 @@ class ByteString(Sequence[int], extra=collections_abc.ByteString):
__slots__ = ()
-ByteString.register(type(memoryview(b'')))
-
-
class List(list, MutableSequence[T], extra=list):
__slots__ = ()