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

index 0b8ddc091fe15481b4e73731bdadae3161d477ea..4e15901c66bfc9163ab1395d91f7fc131428f181 100644 (file)
@@ -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