From 828722aca4ccba893f6b2e8c1d41fd74fd6e208d Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Thu, 21 Oct 2021 09:50:29 -0700 Subject: [3.10] bpo-44174: [Enum] add reference to name mangling (GH-29117) --- Doc/library/enum.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index b354a11..eb5ffd0 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -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 ` 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 -- cgit v0.12