--- datastructures.orig.rst 2010-04-06 16:20:59.000000000 -0400 +++ datastructures.rst 2010-04-06 16:27:05.000000000 -0400 @@ -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