Travis build: 84

This commit is contained in:
30secondsofcode
2019-09-18 06:09:44 +00:00
parent 0f2fcf5d77
commit 9313eacb9e
3 changed files with 4 additions and 4 deletions

View File

@ -1591,7 +1591,7 @@ Return a `list()` of the previous result.
```py ```py
def values_only(dict): def values_only(dict):
return list(flat_dict.values()) return list(dict.values())
``` ```
<details> <details>

View File

@ -1117,7 +1117,7 @@
] ]
}, },
"meta": { "meta": {
"hash": "15dec93f30e55d25c07f9d5456d5e96f9b6a5a794d9a0874a39be0359a42c10f" "hash": "d6942bb96124e6cb484b2b9a6d407d761adbbe8df37339674e02a344c7bdda28"
} }
}, },
{ {

View File

@ -1467,7 +1467,7 @@
"fileName": "values_only.md", "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", "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": { "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]" "example": "ages = {\n \"Peter\": 10,\n \"Isabel\": 11,\n \"Anna\": 9,\n}\nvalues_only(ages) # [10, 11, 9]"
}, },
"tags": [ "tags": [
@ -1477,7 +1477,7 @@
] ]
}, },
"meta": { "meta": {
"hash": "15dec93f30e55d25c07f9d5456d5e96f9b6a5a794d9a0874a39be0359a42c10f" "hash": "d6942bb96124e6cb484b2b9a6d407d761adbbe8df37339674e02a344c7bdda28"
} }
}, },
{ {