diff options
author | Louie Dinh <ldinh@athinkingape.com> | 2014-12-23 11:23:22 -0800 |
---|---|---|
committer | Louie Dinh <ldinh@athinkingape.com> | 2014-12-23 11:23:22 -0800 |
commit | 28fcbc8e1c7d22bbc192418b4f3513f2ca4ead3e (patch) | |
tree | f097fd9be766cec30e081f5181b51515e995aafa | |
parent | ea929d60945289f25c50387798a9f5868a637ab5 (diff) |
Fix typo
-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 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 |