aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Mustafa Quraish <[email protected]>2022-04-29 19:27:27 -0400
committerGravatar GitHub <[email protected]>2022-04-29 19:27:27 -0400
commitf57b48d4ac1418fa2e885255c6b302687e0a51b2 (patch)
tree6bc71e6863bf8e39c6cdd089313af960bfa20939
parentMerge pull request #2155 from python-discord/use-async-with-typing (diff)
Update wording for or-gotcha tag
-rw-r--r--bot/resources/tags/or-gotcha.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/resources/tags/or-gotcha.md b/bot/resources/tags/or-gotcha.md
index d75a73d78..25ade8620 100644
--- a/bot/resources/tags/or-gotcha.md
+++ b/bot/resources/tags/or-gotcha.md
@@ -1,5 +1,6 @@
When checking if something is equal to one thing or another, you might think that this is possible:
```py
+# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")
```