]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176) (GH-144802)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Mar 2026 20:21:41 +0000 (21:21 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Mar 2026 20:21:41 +0000 (21:21 +0100)
commit1b2f0bd54c488d29b5aa14e65ea592a97eb8c2de
treeb7a8c426d99737970ec4e0d303f8c2f88a81c918
parentc6dd76471924c0682b6f7d99b938601fa6785522
[3.14] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-139176) (GH-144802)

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 https://github.com/python/cpython/pull/136791
(cherry picked from commit 629a363ddd2889f023d5925506e61f5b6647accd)

Co-authored-by: Rafael Weingartner-Ortner <38643099+RafaelWO@users.noreply.github.com>
Doc/howto/enum.rst
Doc/library/enum.rst