Skip to content

[3.13] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176)#144803

Open
miss-islington wants to merge 1 commit intopython:3.13from
miss-islington:backport-629a363-3.13
Open

[3.13] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176)#144803
miss-islington wants to merge 1 commit intopython:3.13from
miss-islington:backport-629a363-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 13, 2026

To avoid duplicate content in the Enum HOWTO and
API documentation which is not automatically synced,
the section about supported dunder and _sunder
names is moved from HOWTO to API docs.

See also #136791
(cherry picked from commit 629a363)

Co-authored-by: Rafael Weingartner-Ortner 38643099+RafaelWO@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--144803.org.readthedocs.build/

…-139176)

To avoid duplicate content in the Enum HOWTO and
API documentation which is not automatically synced,
the section about supported __dunder__ and _sunder
names is moved from HOWTO to API docs.

See also python#136791
(cherry picked from commit 629a363)

Co-authored-by: Rafael Weingartner-Ortner <38643099+RafaelWO@users.noreply.github.com>
<Color.RED: 1>

Raises a :exc:`ValueError` if the value is already linked with a different member.
| Raises a :exc:`ValueError` if the value is already linked with a different member.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants