This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dutcho
Recipients Dutcho, docs@python
Date 2022-01-29.10:00:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643450429.02.0.752906644712.issue46569@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/3.11/library/enum.html#enum.StrEnum contains:
Note __str__() is str.__str__() to better support the replacement of existing constants use-case. __format__() is likewise int.__format__() for that same reason.

This should be (change indicated by triple star):
Note __str__() is str.__str__() to better support the replacement of existing constants use-case. __format__() is likewise ***str***.__format__() for that same reason.

Likely copied from IntEnum
History
Date User Action Args
2022-01-29 10:00:29Dutchosetrecipients: + Dutcho, docs@python
2022-01-29 10:00:29Dutchosetmessageid: <1643450429.02.0.752906644712.issue46569@roundup.psfhosted.org>
2022-01-29 10:00:28Dutcholinkissue46569 messages
2022-01-29 10:00:28Dutchocreate