android13/external/python/cpython2/Misc/NEWS.d/next/Library/2017-10-29-10-37-55.bpo-316...

3 lines
138 B
ReStructuredText

Raise a ``TypeError`` instead of crashing if a ``collections.deque`` subclass
returns a non-deque from ``__new__``. Patch by Oren Milman.