diff options
author | Raymond Hettinger <python@rcn.com> | 2009-05-18 15:51:59 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-05-18 15:51:59 (GMT) |
commit | fceb5d478fcc43b764a9d1ad0a90e098828a7f64 (patch) | |
tree | d2f783c3ef6a0d110c905ed14cc4dca0ef38074e | |
parent | 07bbfcc5e2bffe489c63e681785717c0340e9d73 (diff) | |
download | cpython-fceb5d478fcc43b764a9d1ad0a90e098828a7f64.zip cpython-fceb5d478fcc43b764a9d1ad0a90e098828a7f64.tar.gz cpython-fceb5d478fcc43b764a9d1ad0a90e098828a7f64.tar.bz2 |
Issue 6037: MutableSequence.__iadd__ should return self.
-rw-r--r-- | Lib/_abcoll.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py index 990ff00..692a0d7 100644 --- a/Lib/_abcoll.py +++ b/Lib/_abcoll.py @@ -560,5 +560,6 @@ class MutableSequence(Sequence): def __iadd__(self, values): self.extend(values) + return self MutableSequence.register(list) |