[python] Fix typo in comment, as per #265

This commit is contained in:
Adam Brenecki 2013-09-20 19:33:39 +09:30
parent 1405dc6387
commit 6d8ffb19b4

View File

@ -235,7 +235,7 @@ empty_set = set()
some_set = set([1,2,2,3,4]) # some_set is now set([1, 2, 3, 4])
# Since Python 2.7, {} can be used to declare a set
filled_set = {1, 2, 2, 3, 4} # => {1 2 3 4}
filled_set = {1, 2, 2, 3, 4} # => {1, 2, 3, 4}
# Add more items to a set
filled_set.add(5) # filled_set is now {1, 2, 3, 4, 5}