Message90487
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> |
|
Date |
User |
Action |
Args |
2009-07-13 15:16:01 | ezio.melotti | set | recipients:
+ ezio.melotti, georg.brandl, Retro |
2009-07-13 15:16:01 | ezio.melotti | set | messageid: <1247498161.11.0.166807407517.issue6475@psf.upfronthosting.co.za> |
2009-07-13 15:15:58 | ezio.melotti | link | issue6475 messages |
2009-07-13 15:15:58 | ezio.melotti | create | |
|