@@ -1521,6 +1521,11 @@ msgid ""
15211521":class:`~email.message.EmailMessage`. (Contributed by R. David Murray in "
15221522":issue:`20476`.)"
15231523msgstr ""
1524+ "新增 :mod:`~email.policy` 属性,:attr:`~email.policy.Policy.message_factory` "
1525+ "控制当解析器新建消息对象时默认要使用的类。 对于 :attr:`email.policy.compat32` 策略来说将为 "
1526+ ":class:`~email.message.Message`,对于新策略来说将为 "
1527+ ":class:`~email.message.EmailMessage`。 (由 R. David Murray 在 :issue:`20476` "
1528+ "中贡献。)"
15241529
15251530#: ../../whatsnew/3.6.rst:1044
15261531msgid "encodings"
@@ -1532,6 +1537,8 @@ msgid ""
15321537"``'ansi'`` alias for the existing ``'mbcs'`` encoding, which uses the "
15331538"``CP_ACP`` code page. (Contributed by Steve Dower in :issue:`27959`.)"
15341539msgstr ""
1540+ "在 Windows 上,增加了 ``'oem'`` 编码格式用于 ``CP_OEMCP``,以及 ``'ansi'`` 别名用于现有的 "
1541+ "``'mbcs'`` 编码格式,它使用 ``CP_ACP`` 代码页。 (由 Steve Dower 在 :issue:`27959` 中贡献。)"
15351542
15361543#: ../../whatsnew/3.6.rst:1052
15371544msgid "enum"
@@ -1544,12 +1551,14 @@ msgid ""
15441551"constants that can be combined using the bitwise operators. (Contributed by "
15451552"Ethan Furman in :issue:`23591`.)"
15461553msgstr ""
1554+ "在 :mod:`enum` 模块中新增了两个枚举基类: :class:`~enum.Flag` 和 :class:`~enum.IntFlags`。 "
1555+ "两者均被用于定义可使用按位运算符进行组合的常量。 (由 Ethan Furman 在 :issue:`23591` 中贡献。)"
15471556
15481557#: ../../whatsnew/3.6.rst:1059
15491558msgid ""
15501559"Many standard library modules have been updated to use the "
15511560":class:`~enum.IntFlags` class for their constants."
1552- msgstr ""
1561+ msgstr "许多标准库模块已被更新以使用 :class:`~enum.IntFlags` 类作为其常量。 "
15531562
15541563#: ../../whatsnew/3.6.rst:1062
15551564msgid ""
0 commit comments