gh-104659: Consolidate python examples in enum documentation by twmr · Pull Request #104665 · python/cpython
twmr
changed the title
gh-104659: Consolidate python examples in enum documentaiton
gh-104659: Consolidate python examples in enum documentation
The IntEnum example in the rst docs is the only example in which a plural classname (Numbers) is used. This change fixes it by renaming Numbers to Number. Closes python#104659
Sorry, @Thisch and @hugovk, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 3ac856e69734491ff8423020c700c9ae86ac9a08 3.11
For small changes like this one, there is usually no need to force-push since they are squash merged.
For large changes, people sometimes use force-push to keep things up to date (to main).
We usually prefer to avoid force-pushing to big ones too, because it makes it harder to review.
Anyway, thanks for the issue and PR!
carljm added a commit to gsallam/cpython_with_perfmap_apii that referenced this pull request