Browse Source

Dictionary

pull/10/head
Jure Šorn 6 years ago
parent
commit
1fab7fe4c8
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
del <dict>[key] # Removes item from dictionary.
value = <dict>.pop(key [, default])
{k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys.
```

Loading…
Cancel
Save