Browse Source

Dictionary

pull/10/head
Jure Šorn 6 years ago
parent
commit
d35c0d48d0
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -75,7 +75,7 @@ value = <dict>.setdefault(key, default) # Same, but also adds default to di
``` ```
```python ```python
value = <dict>.pop(key [, default]) value = <dict>.pop(key) # Removes item from dictionary.
{k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys. {k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys.
``` ```

|||||||
100:0
Loading…
Cancel
Save