Skip to content

Commit 1fab7fe

Browse files
committed
Dictionary
1 parent e41adc0 commit 1fab7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ value = <dict>.setdefault(key, default) # Same, but also adds default to di
7575
```
7676

7777
```python
78-
del <dict>[key] # Removes item from dictionary.
78+
value = <dict>.pop(key [, default])
7979
{k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys.
8080
```
8181

0 commit comments

Comments
 (0)