Skip to content

Commit e628700

Browse files
authored
[3.9] bpo-44174: [Enum] add name-mangling reference (GH-29128)
1 parent bfa4237 commit e628700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/enum.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ and raise an error if the two do not match::
11251125
_Private__names
11261126
"""""""""""""""
11271127

1128-
Private names will be normal attributes in Python 3.11 instead of either an error
1128+
:ref:`Private names <private-name-mangling>` will be normal attributes in Python 3.11 instead of either an error
11291129
or a member (depending on if the name ends with an underscore). Using these names
11301130
in 3.9 and 3.10 will issue a :exc:`DeprecationWarning`.
11311131

@@ -1152,7 +1152,7 @@ all-uppercase names for members)::
11521152

11531153
.. note::
11541154

1155-
This behavior is deprecated and will be removed in 3.11.
1155+
This behavior is deprecated and will be removed in 3.12.
11561156

11571157
.. versionchanged:: 3.5
11581158

0 commit comments

Comments
 (0)