From 5e2a0ef2ee7aed59260556b5ea15f497cdc73f3b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 9 Oct 2016 10:02:49 -0700 Subject: Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. --- Lib/typing.py | 3 --- 1 file changed, 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__ = () -- cgit v0.12