[Python-checkins] r72772 - python/branches/py3k/Lib/_abcoll.py
raymond.hettinger
python-checkins at python.org
Mon May 18 17:35:26 CEST 2009
Author: raymond.hettinger
Date: Mon May 18 17:35:26 2009
New Revision: 72772
Log:
Issue 6037: MutableSequence.__iadd__ should return self.
Modified:
python/branches/py3k/Lib/_abcoll.py
Modified: python/branches/py3k/Lib/_abcoll.py
==============================================================================
--- python/branches/py3k/Lib/_abcoll.py (original)
+++ python/branches/py3k/Lib/_abcoll.py Mon May 18 17:35:26 2009
@@ -598,6 +598,7 @@
def __iadd__(self, values):
self.extend(values)
+ return self
MutableSequence.register(list)
MutableSequence.register(bytearray) # Multiply inheriting, see ByteString
More information about the Python-checkins
mailing list