summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-10 07:57:10 (GMT)
committerGeorg Brandl <georg@python.org>2010-11-10 07:57:10 (GMT)
commit1790ed2b2eb7164dd5802c1f9b1b61c406ded8be (patch)
tree28f5bc48285008963db3432016636fbd3a0727f8
parentdac47914d75ac3127911d972b8bfc14bb49e66fe (diff)
downloadcpython-1790ed2b2eb7164dd5802c1f9b1b61c406ded8be.zip
cpython-1790ed2b2eb7164dd5802c1f9b1b61c406ded8be.tar.gz
cpython-1790ed2b2eb7164dd5802c1f9b1b61c406ded8be.tar.bz2
Fix typo.
-rw-r--r--Doc/tutorial/datastructures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index 4f3d498..defb47c 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -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