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 jmarter
Recipients georg.brandl, jmarter, rhettinger
Date 2010-01-24.22:04:37
SpamBayes Score 0.0025252327
Marked as misclassified No
Message-id <1264370678.93.0.566002072265.issue4570@psf.upfronthosting.co.za>
In-reply-to
Content
I see that the spelling of banana has been fixed but what is the purpose of assigning fruit and then immediately reassigning it another value without even looking at the first assignment?

>>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
>>> fruit = set(basket)               # create a set without duplicates
History
Date User Action Args
2010-01-24 22:04:39jmartersetrecipients: + jmarter, georg.brandl, rhettinger
2010-01-24 22:04:38jmartersetmessageid: <1264370678.93.0.566002072265.issue4570@psf.upfronthosting.co.za>
2010-01-24 22:04:37jmarterlinkissue4570 messages
2010-01-24 22:04:37jmartercreate