aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ItsCinnabar <[email protected]>2020-07-14 16:59:19 +0000
committerGravatar GitHub <[email protected]>2020-07-14 16:59:19 +0000
commit4fc0971dfff6a72c322a8f434a4b656cbea8fb66 (patch)
treedf2c9e94b43e5dbb831af7624473f0268abc4a0b
parentUpdate or-gotcha.md (diff)
Update bot/resources/tags/or-gotcha.md
Co-authored-by: Sebastiaan Zeeff <[email protected]>
-rw-r--r--bot/resources/tags/or-gotcha.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/or-gotcha.md b/bot/resources/tags/or-gotcha.md
index 00c8a5645..d75a73d78 100644
--- a/bot/resources/tags/or-gotcha.md
+++ b/bot/resources/tags/or-gotcha.md
@@ -3,7 +3,7 @@ When checking if something is equal to one thing or another, you might think tha
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")
```
-While this makes sense in English, it may not behave the way you would expect. [In Python, you should have _complete instructions on both sides of the logical operator_.](https://docs.python.org/3/reference/expressions.html#boolean-operations)
+While this makes sense in English, it may not behave the way you would expect. In Python, you should have _[complete instructions on both sides of the logical operator](https://docs.python.org/3/reference/expressions.html#boolean-operations)_.
So, if you want to check if something is equal to one thing or another, there are two common ways:
```py