mirror of https://github.com/python/cpython
Issue 6037: MutableSequence.__iadd__ should return self.
This commit is contained in:
parent
1f54ed5e37
commit
3b3ddb8828
|
@ -557,5 +557,6 @@ class MutableSequence(Sequence):
|
|||
|
||||
def __iadd__(self, values):
|
||||
self.extend(values)
|
||||
return self
|
||||
|
||||
MutableSequence.register(list)
|
||||
|
|
Loading…
Reference in New Issue