Commit c384b226 authored by Raymond Hettinger's avatar Raymond Hettinger

Issue 6037: MutableSequence.__iadd__ should return self.

parent 93fb3aad
......@@ -598,6 +598,7 @@ class MutableSequence(Sequence):
def __iadd__(self, values):
self.extend(values)
return self
MutableSequence.register(list)
MutableSequence.register(bytearray) # Multiply inheriting, see ByteString
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment