From: Guido van Rossum Date: Sun, 9 Oct 2016 17:02:49 +0000 (-0700) Subject: Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. X-Git-Tag: v3.6.0b2~9^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b;p=thirdparty%2FPython%2Fcpython.git Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. --- diff --git a/Lib/typing.py b/Lib/typing.py index 557fa589ea43..35d562e0b62c 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__ = ()