77msgstr ""
88"Project-Id-Version :Python 3.7\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2021-09-13 00:11 +0000\n "
10+ "POT-Creation-Date :2021-10-22 00:14 +0000\n "
1111"PO-Revision-Date :2018-05-23 16:01+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -984,9 +984,10 @@ msgstr ""
984984
985985#: ../../library/enum.rst:1128
986986msgid ""
987- "Private names will be normal attributes in Python 3.10 instead of either an "
988- "error or a member (depending on if the name ends with an underscore). Using "
989- "these names in 3.9 will issue a :exc:`DeprecationWarning`."
987+ ":ref:`Private names <private-name-mangling>` will be normal attributes in "
988+ "Python 3.11 instead of either an error or a member (depending on if the name "
989+ "ends with an underscore). Using these names in 3.9 and 3.10 will issue a :"
990+ "exc:`DeprecationWarning`."
990991msgstr ""
991992
992993#: ../../library/enum.rst:1134
@@ -1003,11 +1004,15 @@ msgid ""
10031004"uppercase names for members)::"
10041005msgstr ""
10051006
1006- #: ../../library/enum.rst:1157
1007+ #: ../../library/enum.rst:1155
1008+ msgid "This behavior is deprecated and will be removed in 3.12."
1009+ msgstr ""
1010+
1011+ #: ../../library/enum.rst:1161
10071012msgid "Boolean value of ``Enum`` classes and members"
10081013msgstr ""
10091014
1010- #: ../../library/enum.rst:1159
1015+ #: ../../library/enum.rst:1163
10111016msgid ""
10121017":class:`Enum` members that are mixed with non-:class:`Enum` types (such as :"
10131018"class:`int`, :class:`str`, etc.) are evaluated according to the mixed-in "
@@ -1016,27 +1021,34 @@ msgid ""
10161021"to your class::"
10171022msgstr ""
10181023
1019- #: ../../library/enum.rst:1168
1024+ #: ../../library/enum.rst:1172
10201025msgid ":class:`Enum` classes always evaluate as :data:`True`."
10211026msgstr ""
10221027
1023- #: ../../library/enum.rst:1172
1028+ #: ../../library/enum.rst:1176
10241029msgid "``Enum`` classes with methods"
10251030msgstr ""
10261031
1027- #: ../../library/enum.rst:1174
1032+ #: ../../library/enum.rst:1178
10281033msgid ""
10291034"If you give your :class:`Enum` subclass extra methods, like the `Planet`_ "
10301035"class above, those methods will show up in a :func:`dir` of the member, but "
10311036"not of the class::"
10321037msgstr ""
10331038
1034- #: ../../library/enum.rst:1185
1039+ #: ../../library/enum.rst:1189
10351040msgid "Combining members of ``Flag``"
10361041msgstr ""
10371042
1038- #: ../../library/enum.rst:1187
1043+ #: ../../library/enum.rst:1191
10391044msgid ""
10401045"If a combination of Flag members is not named, the :func:`repr` will include "
10411046"all named flags and all named combinations of flags that are in the value::"
10421047msgstr ""
1048+
1049+ #: ../../library/enum.rst:1209
1050+ msgid ""
1051+ "In 3.11 unnamed combinations of flags will only produce the canonical flag "
1052+ "members (aka single-value flags). So ``Color(7)`` would produce something "
1053+ "like ``<Color.BLUE|GREEN|RED: 7>``."
1054+ msgstr ""