summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorGeoff Liu <g@geoffliu.me>2015-01-18 13:07:39 -0700
committerGeoff Liu <g@geoffliu.me>2015-01-18 13:07:39 -0700
commit31faf1a6a1c35802cf3676ec1a7f54d86411b566 (patch)
tree5ccca54b8837fec9a8d6d60d2bda6db4162078e7 /python.html.markdown
parent40c38c125b94430b518d7e402d595694149b7c53 (diff)
parentc053f1559bb357d9e8ced2452096bf3a95cc7ddb (diff)
Merge branch 'master' of github.com:geoffliu/learnxinyminutes-docs
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 53381f32..da04d381 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -264,7 +264,7 @@ filled_dict.get("four") # => None
# The get method supports a default argument when the value is missing
filled_dict.get("one", 4) # => 1
filled_dict.get("four", 4) # => 4
-# note that filled_dict.get("four") is still => 4
+# note that filled_dict.get("four") is still => None
# (get doesn't set the value in the dictionary)
# set the value of a key with a syntax similar to lists