Merge pull request #163 from zachvalenta/patch-1
make consistent with keys_only
This commit is contained in:
@ -9,8 +9,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())
|
||||
```
|
||||
|
||||
```py
|
||||
|
||||
Reference in New Issue
Block a user