[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py.

guido.van.rossum python-checkins at python.org
Sun Oct 9 13:05:04 EDT 2016


https://hg.python.org/cpython/rev/8958836a2c89
changeset:   104421:8958836a2c89
branch:      3.6
parent:      104418:41c4f535b5c0
parent:      104420:69fe5f2e5aae
user:        Guido van Rossum <guido at python.org>
date:        Sun Oct 09 10:03:35 2016 -0700
summary:
  Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. (merge 3.5->3.6)

files:
  Lib/typing.py |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Lib/typing.py b/Lib/typing.py
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -1668,9 +1668,6 @@
     __slots__ = ()
 
 
-ByteString.register(type(memoryview(b'')))
-
-
 class List(list, MutableSequence[T], extra=list):
 
     __slots__ = ()

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list