[3.10] bpo-44174: [Enum] add reference to name mangling (GH-29117)

This commit is contained in:
Ethan Furman 2021-10-21 09:50:29 -07:00 committed by GitHub
parent 1cdac61065
commit 828722aca4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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