]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo.
authorGeorg Brandl <georg@python.org>
Wed, 10 Nov 2010 07:57:10 +0000 (07:57 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 10 Nov 2010 07:57:10 +0000 (07:57 +0000)
Doc/tutorial/datastructures.rst

index 4f3d49852aaaeb466dbb4dcd6b8e6f0aae73db7d..defb47c72c80fa676c12e1e2623a2105093faf79 100644 (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