mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.10] bpo-44174: [Enum] add reference to name mangling (GH-29117)
This commit is contained in:
parent
1cdac61065
commit
828722aca4
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue