Skip to content

Plural vs Singular in enum documentation #104659

Description

@twmr

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

Activity

  1. added
    docsDocumentation in the Doc dir
    on May 19, 2023
  2. ethanfurman commented on May 19, 2023

    @ethanfurman
    Member

    @Thisch You are correct. Do you want to create a PR?

  3. twmr commented on May 19, 2023

    @twmr
    ContributorAuthor

    @ethanfurman Sure, I'll create a PR.

  4. added 5 commits that reference this issue on May 19, 2023
    b37de8e
    f44938d
    e7c0205
    90b8bb0
    79ff9b2
  5. added 3 commits that reference this issue on May 19, 2023
  6. added a commit that references this issue on May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dir

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions