aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anand Krishna <[email protected]>2021-02-06 21:41:13 +0400
committerGravatar GitHub <[email protected]>2021-02-06 21:41:13 +0400
commitdf22551dbf7a4dae4e374eb1dd95d9354b73474c (patch)
tree95df30a4a3ab7b50f0dabb50206185921fa992e6
parentMake `defaultdict` tag (diff)
Fix trailing whitespaces
-rw-r--r--bot/resources/tags/defaultdict.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/defaultdict.md b/bot/resources/tags/defaultdict.md
index a15ebff2a..9361d6f2a 100644
--- a/bot/resources/tags/defaultdict.md
+++ b/bot/resources/tags/defaultdict.md
@@ -1,6 +1,6 @@
**[`collections.defaultdict`](https://docs.python.org/3/library/collections.html#collections.defaultdict)**
-The Python `defaultdict` type behaves almost exactly like a regular Python dictionary, but if you try to access or modify a missing key, the `defaultdict` will automatically create the key and generate a default value for it.
+The Python `defaultdict` type behaves almost exactly like a regular Python dictionary, but if you try to access or modify a missing key, the `defaultdict` will automatically create the key and generate a default value for it.
While instantiating a `defaultdict`, we pass in a function that tells it how to create a default value for missing keys.
```py