Plural vs Singular in enum documentation #104659
Copy link
Copy link
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
Hi! I've just seen that classname in the example in the documentation for IntEnum (https://docs.python.org/3/library/enum.html#enum.IntEnum) is in the plural (Numbers) but for all the other enum examples a classname in the singular is used.
Since a singluar classname IMO makes more sense for all enum classes, I think Numbers should be changed to Number in the documentation.
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Activity
ethanfurman commentedon May 19, 2023
@Thisch You are correct. Do you want to create a PR?
twmr commentedon May 19, 2023
@ethanfurman Sure, I'll create a PR.
Consolidate python examples in enum documentaiton
Consolidate python examples in enum documentaiton
Consolidate python examples in enum documentaiton
Consolidate python examples in enum documentaiton
Consolidate python examples in enum documentation
gh-104659: Consolidate python examples in enum documentation (#104665)
pythongh-104659: Consolidate python examples in enum documentation (p…
[3.11] gh-104659: Consolidate python examples in enum documentation (#…
Merge branch 'main' into gsallam/main