summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-10-21 11:32:18 -0700
committerGitHub <noreply@github.com>2021-10-21 11:32:18 -0700
commite628700dbf2c3376502cbb5a9bff2d58d1102e16 (patch)
tree188f814f61589ac007ce151e49cbc2b73195e366
parentbfa4237ecfa605ff94e86fa7141f4a8b1f7cc44a (diff)
downloadcpython-git-e628700dbf2c3376502cbb5a9bff2d58d1102e16.tar.gz
[3.9] bpo-44174: [Enum] add name-mangling reference (GH-29128)
-rw-r--r--Doc/library/enum.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 0b8ddc091f..4e15901c66 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -1125,7 +1125,7 @@ and raise an error if the two do not match::
_Private__names
"""""""""""""""
-Private names will be normal attributes in Python 3.11 instead of either an error
+:ref:`Private names <private-name-mangling>` will be normal attributes in Python 3.11 instead of either an error
or a member (depending on if the name ends with an underscore). Using these names
in 3.9 and 3.10 will issue a :exc:`DeprecationWarning`.
@@ -1152,7 +1152,7 @@ all-uppercase names for members)::
.. note::
- This behavior is deprecated and will be removed in 3.11.
+ This behavior is deprecated and will be removed in 3.12.
.. versionchanged:: 3.5