[Python-checkins] r86390 - python/branches/py3k/Doc/tutorial/datastructures.rst

georg.brandl python-checkins at python.org
Wed Nov 10 08:57:16 CET 2010


Author: georg.brandl
Date: Wed Nov 10 08:57:10 2010
New Revision: 86390

Log:
Fix typo.

Modified:
   python/branches/py3k/Doc/tutorial/datastructures.rst

Modified: python/branches/py3k/Doc/tutorial/datastructures.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/datastructures.rst	(original)
+++ python/branches/py3k/Doc/tutorial/datastructures.rst	Wed Nov 10 08:57:10 2010
@@ -379,7 +379,7 @@
 
    >>> 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


More information about the Python-checkins mailing list