◐ Shell
clean mode source ↗

gh-104659: Consolidate python examples in enum documentation by twmr · Pull Request #104665 · python/cpython

@twmr

@twmr twmr commented

May 19, 2023

edited by github-actions Bot

Loading

@ghost

All commit authors signed the Contributor License Agreement.
CLA signed

@twmr twmr changed the title gh-104659: Consolidate python examples in enum documentaiton gh-104659: Consolidate python examples in enum documentation

May 19, 2023

ethanfurman

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

hugovk

@miss-islington

Thanks @Thisch for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington

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

@sunmy2019

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).

@bedevere-bot

hugovk pushed a commit to hugovk/cpython that referenced this pull request

May 19, 2023

@hugovk

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!

hugovk added a commit that referenced this pull request

May 19, 2023

carljm added a commit to gsallam/cpython_with_perfmap_apii that referenced this pull request

May 20, 2023