]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py.
authorGuido van Rossum <guido@python.org>
Sun, 9 Oct 2016 17:02:49 +0000 (10:02 -0700)
committerGuido van Rossum <guido@python.org>
Sun, 9 Oct 2016 17:02:49 +0000 (10:02 -0700)
Lib/typing.py

index 557fa589ea4364919e38fbfcff51222e5562bf27..35d562e0b62c85d0734f43c802babe5f9f4c806f 100644 (file)
@@ -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__ = ()