[Python-checkins] cpython (merge 3.6 -> default): 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/def461406c70
changeset:   104422:def461406c70
parent:      104419:47720192b318
parent:      104421:8958836a2c89
user:        Guido van Rossum <guido at python.org>
date:        Sun Oct 09 10:04:55 2016 -0700
summary:
  Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. (merge 3.6->3.7)

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