We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9066567 + a0d7316 commit c2da828Copy full SHA for c2da828
README.md
@@ -61,6 +61,7 @@ Dictionary
61
```
62
63
```python
64
+del <dict>[key] # Remove an existing key.
65
value = <dict>.get(key, default) # Returns default if key does not exist.
66
value = <dict>.setdefault(key, default) # Same, but also adds default to dict.
67
<dict> = collections.defaultdict(<type>) # Creates a dictionary with default value of type.
0 commit comments