-
-
Notifications
You must be signed in to change notification settings - Fork 737
Closed
Labels
a: tagsRelated to bot tagsRelated to bot tagsstatus: approvedThe issue has received a core developer's approvalThe issue has received a core developer's approvalt: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
Description
Currently the or-gotcha tag embed looks like:
While the embed is helpful, the first thing the eye is drawn to the first code block, and not the actual text around it. It's very tempting to just look at just the code examples, so I think adding a comment to the first code block to the following might make it clear at a glance that it's meant to be the incorrect way to do it:
# Incorrect
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")Should be a very trivial change, I'm happy to make a PR if you all agree it's worth it
Metadata
Metadata
Assignees
Labels
a: tagsRelated to bot tagsRelated to bot tagsstatus: approvedThe issue has received a core developer's approvalThe issue has received a core developer's approvalt: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
