diff options
author | ldinh <LouieDinh@gmail.com> | 2013-08-05 17:42:38 -0700 |
---|---|---|
committer | ldinh <LouieDinh@gmail.com> | 2013-08-05 17:42:38 -0700 |
commit | d2f0d8222e9e5c4c17f6ccde096df3c4d02d43af (patch) | |
tree | bed44f6692f6dc78e0abe4855a3f2ac22b640f9e /python.html.markdown | |
parent | 01f0e59980ceab7f16cd5571692e8913e5d9f5c2 (diff) |
Fix typo
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index e7ee6fbd..1a54e633 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -232,7 +232,7 @@ filled_dict.setdefault("five", 6) #filled_dict["five"] is still 5 # Sets store ... well sets empty_set = set() # Initialize a set with a bunch of values -some_set = set([1,2,2,3,4]) # filled_set is now set([1, 2, 3, 4]) +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} |