Message412067
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 |
|
Date |
User |
Action |
Args |
2022-01-29 10:00:29 | Dutcho | set | recipients:
+ Dutcho, docs@python |
2022-01-29 10:00:29 | Dutcho | set | messageid: <1643450429.02.0.752906644712.issue46569@roundup.psfhosted.org> |
2022-01-29 10:00:28 | Dutcho | link | issue46569 messages |
2022-01-29 10:00:28 | Dutcho | create | |
|