[Python-checkins] bpo-44174: [Enum] add reference to name mangling (GH-29116)

ethanfurman webhook-mailer at python.org
Wed Oct 20 23:32:19 EDT 2021


https://github.com/python/cpython/commit/7c4d96103c4e16161e9aed9a584c9857d0674099
commit: 7c4d96103c4e16161e9aed9a584c9857d0674099
branch: main
author: Ethan Furman <ethan at stoneleaf.us>
committer: ethanfurman <ethan at stoneleaf.us>
date: 2021-10-20T20:32:11-07:00
summary:

bpo-44174: [Enum] add reference to name mangling (GH-29116)

files:
M Doc/howto/enum.rst

diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst
index 4621b66270fcc..d9cfad972cfa9 100644
--- a/Doc/howto/enum.rst
+++ b/Doc/howto/enum.rst
@@ -936,7 +936,8 @@ and raise an error if the two do not match::
 _Private__names
 """""""""""""""
 
-Private names are not converted to enum members, but remain normal attributes.
+:ref:`Private names <private-name-mangling>` are not converted to enum members,
+but remain normal attributes.
 
 .. versionchanged:: 3.10
 



More information about the Python-checkins mailing list