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

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