aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-09-06 01:20:24 +0100
committerGravatar GitHub <[email protected]>2025-09-06 01:20:24 +0100
commitb45390e8a454fa211070d1152b9da45e8f501393 (patch)
tree57895834d731105fd859deed4ef757ab605066b1
parentBump actions/checkout from 4 to 5 (#3369) (diff)
parentA list is a better expression of the intent (diff)
Merge pull request #3381 from python-discord/nedbat-patch-1
A list is a better expression of the intent
-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 88944f3a8..86045c966 100644
--- a/bot/resources/tags/or-gotcha.md
+++ b/bot/resources/tags/or-gotcha.md
@@ -17,6 +17,6 @@ if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
print("That's a weird favorite fruit to have.")
# ...or like this.
-if favorite_fruit in ('grapefruit', 'lemon'):
+if favorite_fruit in ['grapefruit', 'lemon']:
print("That's a weird favorite fruit to have.")
```