Skip to content

[3.9] bpo-44174: [Enum] add name-mangling reference #29128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand All @@ -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

Expand Down