summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-09 17:03:35 (GMT)
committerGuido van Rossum <guido@python.org>2016-10-09 17:03:35 (GMT)
commit06060725b49a3600264402e9b1059ed23b97adb9 (patch)
tree109ee883a98b88640f1294b26225f29d6ed7c5a8
parent917c1c3ee1b4cbe7a7a78ffde053fb5628eee486 (diff)
parent5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b (diff)
downloadcpython-06060725b49a3600264402e9b1059ed23b97adb9.zip
cpython-06060725b49a3600264402e9b1059ed23b97adb9.tar.gz
cpython-06060725b49a3600264402e9b1059ed23b97adb9.tar.bz2
Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. (merge 3.5->3.6)
-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__ = ()