aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anand Krishna <[email protected]>2021-02-11 10:20:06 +0400
committerGravatar GitHub <[email protected]>2021-02-11 10:20:06 +0400
commita3749786c3ff90397427032ef219b590ee4e2837 (patch)
tree523e47360518a6b306853e76e8c60daa5ec526fc
parentSplit example codeblock in two (diff)
Remove reference to `try - except`
-rw-r--r--bot/resources/tags/dict-get.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/resources/tags/dict-get.md b/bot/resources/tags/dict-get.md
index 867f0b7d9..e02df03ab 100644
--- a/bot/resources/tags/dict-get.md
+++ b/bot/resources/tags/dict-get.md
@@ -1,5 +1,4 @@
-Often while using dictionaries in Python, you may run into `KeyErrors`. This error is raised when you try to access a key that isn't present in your dictionary.\
-While you can use a `try` and `except` block to catch the `KeyError`, Python also gives you some other neat ways to handle them.
+Often while using dictionaries in Python, you may run into `KeyErrors`. This error is raised when you try to access a key that isn't present in your dictionary. Python gives you some neat ways to handle them.
**The `dict.get` method**