mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix typo.
This commit is contained in:
parent
dac47914d7
commit
1790ed2b2e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue