You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multiple issues with enum __add_(value_)alias_ documentation #136672
There is an "Added in version 3.13" marker way down in the Supported _sunder_ names section, but this is unlikely to be discovered by someone looking at the documentation here.
Also, these methods are documented as being members of EnumType, while in reality, they are members of Enum:
Activity
amentee commentedon Jul 15, 2025
@srittau - There is an example mentioned in the enum cookbook here - https://docs.python.org/3/howto/enum.html#multivalueenum . But yes agreed , in the original documentation these methods are documented as part of EnumType.
RafaelWO commentedon Jul 19, 2025
I would like to take a look at this and potentially open a PR 👀
gh-136672: Docs: Move Enum functions and add examples (GH-136791)
pythongh-136672: Docs: Move Enum functions and add examples (pythonGH…
pythongh-136672: Docs: Move Enum functions and add examples (pythonGH…
[3.13] gh-136672: Docs: Move Enum functions and add examples (GH-136791…
pythongh-136672: Docs: Move Enum functions and add examples (pythonGH…
[3.14] gh-136672: Docs: Move Enum functions and add examples (GH-136791…
gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176)
pythongh-136672: Docs: Move parts of Enum HOWTO to API Docs (pythonGH…
pythongh-136672: Docs: Move parts of Enum HOWTO to API Docs (pythonGH…
pythongh-136672: Docs: Move parts of Enum HOWTO to API Docs (pythonGH…
[3.14] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176…
[3.13] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176…
pythongh-136672: Docs: Move parts of Enum HOWTO to API Docs (pythonGH…