mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue 6037: MutableSequence.__iadd__ should return self.
This commit is contained in:
parent
07bbfcc5e2
commit
fceb5d478f
1 changed files with 1 additions and 0 deletions
|
|
@ -560,5 +560,6 @@ class MutableSequence(Sequence):
|
|||
|
||||
def __iadd__(self, values):
|
||||
self.extend(values)
|
||||
return self
|
||||
|
||||
MutableSequence.register(list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue