]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 4570: Fix typo in the tutorial.
authorRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2008 01:21:21 +0000 (01:21 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2008 01:21:21 +0000 (01:21 +0000)
Doc/tutorial/datastructures.rst

index e8509ebe93cc3249dd93d6ebbc69114daa2da893..84e731d90b2899f0466cae3206d4e3b351b3c0c2 100644 (file)
@@ -376,7 +376,7 @@ Here is a brief demonstration::
 
    >>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
    >>> print(basket)
-   {'orange', 'bananna', 'pear', 'apple'}
+   {'orange', 'banana', 'pear', 'apple'}
    >>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
    >>> fruit = set(basket)               # create a set without duplicates
    >>> fruit