]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] bpo-44174: [Enum] add reference to name mangling (GH-29117)
authorEthan Furman <ethan@stoneleaf.us>
Thu, 21 Oct 2021 16:50:29 +0000 (09:50 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 16:50:29 +0000 (09:50 -0700)
Doc/library/enum.rst

index b354a111a3ce73f3795f52370f621308e8958ec9..eb5ffd0c5d51c5114f3ac2d18649a94c9d39d3b7 100644 (file)
@@ -1125,9 +1125,9 @@ 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
-or a member (depending on if the name ends with an underscore). Using these names
-in 3.10 will issue a :exc:`DeprecationWarning`.
+: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.10 will issue a :exc:`DeprecationWarning`.
 
 
 ``Enum`` member type