summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
authorIan Bertolacci <ian.bertolacci@gmail.com>2017-09-07 13:26:46 -0700
committerGitHub <noreply@github.com>2017-09-07 13:26:46 -0700
commit6ec7fdc16b9d7480df7b75a0e89e654ecc49f24f (patch)
treeee8637e66d687d04ef6cdd0e6e9f907e2724d7e0 /python.html.markdown
parentf72c4ef5e1bf8fab0651fe0d0cf3eb5cdb94edcf (diff)
[python/en] filled_dict
Address #2841
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 0de51285..946cbc0c 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -302,7 +302,7 @@ filled_dict.values() # => [3, 2, 1]
# Note - Same as above regarding key ordering.
# Get all key-value pairs as a list of tuples with "items()"
-filled_dicts.items() # => [("one", 1), ("two", 2), ("three", 3)]
+filled_dict.items() # => [("one", 1), ("two", 2), ("three", 3)]
# Check for existence of keys in a dictionary with "in"
"one" in filled_dict # => True