Fix typo.

This commit is contained in:
Georg Brandl 2010-11-10 07:57:10 +00:00
parent dac47914d7
commit 1790ed2b2e
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ Here is a brief demonstration::
>>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
>>> print(basket) # show that duplicates have been removed
{'orange', 'bananna', 'pear', 'apple'}
{'orange', 'banana', 'pear', 'apple'}
>>> 'orange' in basket # fast membership testing
True
>>> 'crabgrass' in basket