@@ -1511,6 +1511,11 @@ msgid ""
15111511":class:`~email.message.EmailMessage`. (Contributed by R. David Murray in "
15121512":issue:`20476`.)"
15131513msgstr ""
1514+ "新增 :mod:`~email.policy` 属性,:attr:`~email.policy.Policy.message_factory` "
1515+ "控制当解析器新建消息对象时默认要使用的类。 对于 :attr:`email.policy.compat32` 策略来说将为 "
1516+ ":class:`~email.message.Message`,对于新策略来说将为 "
1517+ ":class:`~email.message.EmailMessage`。 (由 R. David Murray 在 :issue:`20476` "
1518+ "中贡献。)"
15141519
15151520#: ../../whatsnew/3.6.rst:1044
15161521msgid "encodings"
@@ -1522,6 +1527,8 @@ msgid ""
15221527"``'ansi'`` alias for the existing ``'mbcs'`` encoding, which uses the "
15231528"``CP_ACP`` code page. (Contributed by Steve Dower in :issue:`27959`.)"
15241529msgstr ""
1530+ "在 Windows 上,增加了 ``'oem'`` 编码格式用于 ``CP_OEMCP``,以及 ``'ansi'`` 别名用于现有的 "
1531+ "``'mbcs'`` 编码格式,它使用 ``CP_ACP`` 代码页。 (由 Steve Dower 在 :issue:`27959` 中贡献。)"
15251532
15261533#: ../../whatsnew/3.6.rst:1052
15271534msgid "enum"
@@ -1534,12 +1541,14 @@ msgid ""
15341541"constants that can be combined using the bitwise operators. (Contributed by "
15351542"Ethan Furman in :issue:`23591`.)"
15361543msgstr ""
1544+ "在 :mod:`enum` 模块中新增了两个枚举基类: :class:`~enum.Flag` 和 :class:`~enum.IntFlags`。 "
1545+ "两者均被用于定义可使用按位运算符进行组合的常量。 (由 Ethan Furman 在 :issue:`23591` 中贡献。)"
15371546
15381547#: ../../whatsnew/3.6.rst:1059
15391548msgid ""
15401549"Many standard library modules have been updated to use the "
15411550":class:`~enum.IntFlags` class for their constants."
1542- msgstr ""
1551+ msgstr "许多标准库模块已被更新以使用 :class:`~enum.IntFlags` 类作为其常量。 "
15431552
15441553#: ../../whatsnew/3.6.rst:1062
15451554msgid ""
0 commit comments