This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author djc
Recipients amaury.forgeotdarc, belopolsky, djc, eric.araujo
Date 2010-07-20.19:04:12
SpamBayes Score 0.00061785674
Marked as misclassified No
Message-id <1279652655.69.0.117040084958.issue9314@psf.upfronthosting.co.za>
In-reply-to
Content
Sure, but:

>>> a = ['a', 'b', 'c']
>>> a += 'def'
>>> a
['a', 'b', 'c', 'd', 'e', 'f']

I think either way is fine (I'm probably on the side of refusing to guess), but what I don't understand is why a += b is different from a + b in this respect.
History
Date User Action Args
2010-07-20 19:04:15djcsetrecipients: + djc, amaury.forgeotdarc, belopolsky, eric.araujo
2010-07-20 19:04:15djcsetmessageid: <1279652655.69.0.117040084958.issue9314@psf.upfronthosting.co.za>
2010-07-20 19:04:12djclinkissue9314 messages
2010-07-20 19:04:12djccreate