From 9313eacb9e8410c7c025fb743c7d7051a60b6eee Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Wed, 18 Sep 2019 06:09:44 +0000 Subject: [PATCH] Travis build: 84 --- README.md | 2 +- snippet_data/snippetList.json | 2 +- snippet_data/snippets.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 57a5e3163..3ba2a2544 100644 --- a/README.md +++ b/README.md @@ -1591,7 +1591,7 @@ Return a `list()` of the previous result. ```py def values_only(dict): - return list(flat_dict.values()) + return list(dict.values()) ```
diff --git a/snippet_data/snippetList.json b/snippet_data/snippetList.json index c261d1027..573c052cc 100644 --- a/snippet_data/snippetList.json +++ b/snippet_data/snippetList.json @@ -1117,7 +1117,7 @@ ] }, "meta": { - "hash": "15dec93f30e55d25c07f9d5456d5e96f9b6a5a794d9a0874a39be0359a42c10f" + "hash": "d6942bb96124e6cb484b2b9a6d407d761adbbe8df37339674e02a344c7bdda28" } }, { diff --git a/snippet_data/snippets.json b/snippet_data/snippets.json index 8e9990536..1992a051e 100644 --- a/snippet_data/snippets.json +++ b/snippet_data/snippets.json @@ -1467,7 +1467,7 @@ "fileName": "values_only.md", "text": "Returns a flat list of all the values in a flat dictionary.\n\nUse `dict.values()` to return the values in the given dictionary.\nReturn a `list()` of the previous result.\n\n", "codeBlocks": { - "code": "def values_only(dict):\n return list(flat_dict.values())", + "code": "def values_only(dict):\n return list(dict.values())", "example": "ages = {\n \"Peter\": 10,\n \"Isabel\": 11,\n \"Anna\": 9,\n}\nvalues_only(ages) # [10, 11, 9]" }, "tags": [ @@ -1477,7 +1477,7 @@ ] }, "meta": { - "hash": "15dec93f30e55d25c07f9d5456d5e96f9b6a5a794d9a0874a39be0359a42c10f" + "hash": "d6942bb96124e6cb484b2b9a6d407d761adbbe8df37339674e02a344c7bdda28" } }, {