Index: Doc/tutorial/datastructures.rst =================================================================== --- Doc/tutorial/datastructures.rst (revision 79861) +++ Doc/tutorial/datastructures.rst (working copy) @@ -381,7 +381,7 @@ >>> print(basket) {'orange', 'banana', 'pear', 'apple'} >>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana'] - >>> fruit = set(basket) # create a set without duplicates + >>> fruit = set(fruit) # create a set without duplicates >>> fruit {'orange', 'pear', 'apple', 'banana'} >>> fruit = {'orange', 'apple'} # {} syntax is equivalent to [] for lists