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-21 00:12 +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,9 @@ msgstr ""
984984
985985#: ../../library/enum.rst:1128
986986msgid ""
987- "Private names will be normal attributes in Python 3.10 instead of either an "
987+ "Private names will be normal attributes in Python 3.11 instead of either an "
988988"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`."
989+ "these names in 3.9 and 3.10 will issue a :exc:`DeprecationWarning`."
990990msgstr ""
991991
992992#: ../../library/enum.rst:1134
@@ -1003,11 +1003,15 @@ msgid ""
10031003"uppercase names for members)::"
10041004msgstr ""
10051005
1006- #: ../../library/enum.rst:1157
1006+ #: ../../library/enum.rst:1155
1007+ msgid "This behavior is deprecated and will be removed in 3.11."
1008+ msgstr ""
1009+
1010+ #: ../../library/enum.rst:1161
10071011msgid "Boolean value of ``Enum`` classes and members"
10081012msgstr ""
10091013
1010- #: ../../library/enum.rst:1159
1014+ #: ../../library/enum.rst:1163
10111015msgid ""
10121016":class:`Enum` members that are mixed with non-:class:`Enum` types (such as :"
10131017"class:`int`, :class:`str`, etc.) are evaluated according to the mixed-in "
@@ -1016,27 +1020,34 @@ msgid ""
10161020"to your class::"
10171021msgstr ""
10181022
1019- #: ../../library/enum.rst:1168
1023+ #: ../../library/enum.rst:1172
10201024msgid ":class:`Enum` classes always evaluate as :data:`True`."
10211025msgstr ""
10221026
1023- #: ../../library/enum.rst:1172
1027+ #: ../../library/enum.rst:1176
10241028msgid "``Enum`` classes with methods"
10251029msgstr ""
10261030
1027- #: ../../library/enum.rst:1174
1031+ #: ../../library/enum.rst:1178
10281032msgid ""
10291033"If you give your :class:`Enum` subclass extra methods, like the `Planet`_ "
10301034"class above, those methods will show up in a :func:`dir` of the member, but "
10311035"not of the class::"
10321036msgstr ""
10331037
1034- #: ../../library/enum.rst:1185
1038+ #: ../../library/enum.rst:1189
10351039msgid "Combining members of ``Flag``"
10361040msgstr ""
10371041
1038- #: ../../library/enum.rst:1187
1042+ #: ../../library/enum.rst:1191
10391043msgid ""
10401044"If a combination of Flag members is not named, the :func:`repr` will include "
10411045"all named flags and all named combinations of flags that are in the value::"
10421046msgstr ""
1047+
1048+ #: ../../library/enum.rst:1209
1049+ msgid ""
1050+ "In 3.11 unnamed combinations of flags will only produce the canonical flag "
1051+ "members (aka single-value flags). So ``Color(7)`` would produce something "
1052+ "like ``<Color.BLUE|GREEN|RED: 7>``."
1053+ msgstr ""
0 commit comments