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 ezio.melotti
Recipients Retro, ezio.melotti, georg.brandl
Date 2009-07-13.15:15:58
SpamBayes Score 0.00894288
Marked as misclassified No
Message-id <1247498161.11.0.166807407517.issue6475@psf.upfronthosting.co.za>
In-reply-to
Content
That example was introduced in r16743 as:
>>> spcs = ["  Apple", " Banana ", "Coco  nut  "]
>>> print [s.strip() for s in spcs]
['Apple', 'Banana', 'Coco  nut']

and was changed in r16831 to:
>>> freshfruit = ['  banana', '  loganberry ', 'passion fruit  ']
>>> [weapon.strip() for weapon in freshfruit]
['banana', 'loganberry', 'passion fruit']

I think that the fresh fruits can really be considered as dangerous
weapons - especially the banana. <wink>
History
Date User Action Args
2009-07-13 15:16:01ezio.melottisetrecipients: + ezio.melotti, georg.brandl, Retro
2009-07-13 15:16:01ezio.melottisetmessageid: <1247498161.11.0.166807407517.issue6475@psf.upfronthosting.co.za>
2009-07-13 15:15:58ezio.melottilinkissue6475 messages
2009-07-13 15:15:58ezio.melotticreate