Travis build: 195

This commit is contained in:
30secondsofcode
2019-11-01 07:11:33 +00:00
parent 3d2ffd115e
commit a9b1277377
3 changed files with 5 additions and 5 deletions

View File

@ -1734,8 +1734,8 @@ Use `dict.values()` to return the values in the given dictionary.
Return a `list()` of the previous result.
```py
def values_only(dict):
return list(dict.values())
def values_only(flat_dict):
return list(flat_dict.values())
```
<details>

View File

@ -1220,7 +1220,7 @@
]
},
"meta": {
"hash": "d6942bb96124e6cb484b2b9a6d407d761adbbe8df37339674e02a344c7bdda28"
"hash": "ea3005a1cc4999d065fcf7141c14fd481f8384bc7d45ecf0eeaf04b6eb8adb66"
}
},
{

View File

@ -1605,7 +1605,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(dict.values())",
"code": "def values_only(flat_dict):\n return list(flat_dict.values())",
"example": "ages = {\n \"Peter\": 10,\n \"Isabel\": 11,\n \"Anna\": 9,\n}\nvalues_only(ages) # [10, 11, 9]"
},
"tags": [
@ -1615,7 +1615,7 @@
]
},
"meta": {
"hash": "d6942bb96124e6cb484b2b9a6d407d761adbbe8df37339674e02a344c7bdda28"
"hash": "ea3005a1cc4999d065fcf7141c14fd481f8384bc7d45ecf0eeaf04b6eb8adb66"
}
},
{