@@ -1511,6 +1511,11 @@ msgid ""
1511
1511
":class:`~email.message.EmailMessage`. (Contributed by R. David Murray in "
1512
1512
":issue:`20476`.)"
1513
1513
msgstr ""
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
+ "中贡献。)"
1514
1519
1515
1520
#: ../../whatsnew/3.6.rst:1044
1516
1521
msgid "encodings"
@@ -1522,6 +1527,8 @@ msgid ""
1522
1527
"``'ansi'`` alias for the existing ``'mbcs'`` encoding, which uses the "
1523
1528
"``CP_ACP`` code page. (Contributed by Steve Dower in :issue:`27959`.)"
1524
1529
msgstr ""
1530
+ "在 Windows 上,增加了 ``'oem'`` 编码格式用于 ``CP_OEMCP``,以及 ``'ansi'`` 别名用于现有的 "
1531
+ "``'mbcs'`` 编码格式,它使用 ``CP_ACP`` 代码页。 (由 Steve Dower 在 :issue:`27959` 中贡献。)"
1525
1532
1526
1533
#: ../../whatsnew/3.6.rst:1052
1527
1534
msgid "enum"
@@ -1534,12 +1541,14 @@ msgid ""
1534
1541
"constants that can be combined using the bitwise operators. (Contributed by "
1535
1542
"Ethan Furman in :issue:`23591`.)"
1536
1543
msgstr ""
1544
+ "在 :mod:`enum` 模块中新增了两个枚举基类: :class:`~enum.Flag` 和 :class:`~enum.IntFlags`。 "
1545
+ "两者均被用于定义可使用按位运算符进行组合的常量。 (由 Ethan Furman 在 :issue:`23591` 中贡献。)"
1537
1546
1538
1547
#: ../../whatsnew/3.6.rst:1059
1539
1548
msgid ""
1540
1549
"Many standard library modules have been updated to use the "
1541
1550
":class:`~enum.IntFlags` class for their constants."
1542
- msgstr ""
1551
+ msgstr "许多标准库模块已被更新以使用 :class:`~enum.IntFlags` 类作为其常量。 "
1543
1552
1544
1553
#: ../../whatsnew/3.6.rst:1062
1545
1554
msgid <
378D
span class="pl-s">""
0 commit comments