From: Raymond Hettinger Date: Mon, 18 May 2009 15:56:38 +0000 (+0000) Subject: Issue 6037: MutableSequence.__iadd__ should return self. X-Git-Tag: v2.6.3rc1~266 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b3ddb882885042c71b9cabdadbd4d47a71b83a9;p=thirdparty%2FPython%2Fcpython.git Issue 6037: MutableSequence.__iadd__ should return self. --- diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py index a355be9a79b3..d8cdc98c4cf0 100644 --- a/Lib/_abcoll.py +++ b/Lib/_abcoll.py @@ -557,5 +557,6 @@ class MutableSequence(Sequence): def __iadd__(self, values): self.extend(values) + return self MutableSequence.register(list)