summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorAdam Brenecki <adam@brenecki.id.au>2013-09-20 19:33:39 +0930
committerAdam Brenecki <adam@brenecki.id.au>2013-09-20 19:33:39 +0930
commit6d8ffb19b4858d88fc33599aab279a849991c0d8 (patch)
tree247932b13f8e1cba58ab96c2f0f2ba6090423741 /python.html.markdown
parent1405dc6387ad95f0161e788a27340e02f3f82471 (diff)
[python] Fix typo in comment, as per #265
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown
index bbb493da..ff6781da 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -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}