@@ -1517,6 +1517,8 @@ msgid ""
1517
1517
"flag has the value ``\" n\" ``. (Contributed by Claudiu Popa in "
1518
1518
":issue:`18039`.)"
1519
1519
msgstr ""
1520
+ "当设置旗标值为 ``\" n\" `` 时 :func:`dumb.open <dbm.dumb.open>` 将总是创建新的数据库。 (由 Claudiu"
1521
+ " Popa 在 :issue:`18039` 中贡献。)"
1520
1522
1521
1523
#: ../../whatsnew/3.5.rst:1061
1522
1524
msgid "difflib"
@@ -1530,13 +1532,18 @@ msgid ""
1530
1532
"``\" ISO-8859-1\" `` to ``\" utf-8\" ``. (Contributed by Berker Peksag in "
1531
1533
":issue:`2052`.)"
1532
1534
msgstr ""
1535
+ "由 :meth:`HtmlDiff.make_file() <difflib.HtmlDiff.make_file>` 生成的 HTML "
1536
+ "文档的字符集现在可通过使用新增的 *charset* 仅限关键字参数来自定义。 HTML 文档的默认字符集已从 ``\" ISO-8859-1\" `` "
1537
+ "改为 ``\" utf-8\" ``。 (由 Berker Peksag 在 :issue:`2052` 中贡献。)"
1533
1538
1534
1539
#: ../../whatsnew/3.5.rst:1070
1535
1540
msgid ""
1536
1541
"The :func:`~difflib.diff_bytes` function can now compare lists of byte "
1537
1542
"strings. This fixes a regression from Python 2. (Contributed by Terry J. "
1538
1543
"Reedy and Greg Ward in :issue:`17445`.)"
1539
1544
msgstr ""
1545
+ "现在 :func:`~difflib.diff_bytes` 函数可能比较字节串的列表。 这修复了一个来自 Python 2 遗留总是。 (由 "
1546
+ "Terry J. Reedy 和 Greg Ward 在 :issue:`17445` 中贡献。)"
1540
1547
1541
1548
#: ../../whatsnew/3.5.rst:1076
1542
1549
msgid "distutils"
@@ -1548,6 +1555,8 @@ msgid ""
1548
1555
"enable parallel building of extension modules. (Contributed by Antoine "
1549
1556
"Pitrou in :issue:`5309`.)"
1550
1557
msgstr ""
1558
+ "现在 ``build`` 和 ``build_ext`` 命令都接受一个 ``-j`` 选项以启用扩展模块的并行编译。 (由 Antoine "
1559
+ "Pitrou 在 :issue:`5309` 中贡献。)"
1551
1560
1552
1561
#: ../../whatsnew/3.5.rst:1082
1553
1562
msgid ""
@@ -1566,6 +1575,9 @@ msgid ""
1566
1575
":class:`unittest.TestSuite` if *module* contains no docstrings, instead of "
1567
1576
"raising :exc:`ValueError`. (Contributed by Glenn Jones in :issue:`15916`.)"
1568
1577
msgstr ""
1578
+ "如果 *module* 不包含任何文档字符串则 :func:`~doctest.DocTestSuite` 函数将返回一个空的 "
1579
+ ":class:`unittest.TestSuite`,而不是引发 :exc:`ValueError`。 (由 Glenn Jones 在 "
1580
+ ":issue:`15916` 中贡献。)"
1569
1581
1570
1582
#: ../../whatsnew/3.5.rst:1096
1571
1583
msgid "email"
0 commit comments