8000 [po] auto sync · python/python-docs-zh-cn@9f7af7e · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f7af7e

Browse files
[po] auto sync
1 parent 3047a8e commit 9f7af7e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.94%", "updated_at": "2024-02-25T00:26:31Z"}
1+
{"translation": "90.95%", "updated_at": "2024-02-25T01:31:32Z"}

whatsnew/3.5.po

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,9 @@ msgid ""
14761476
" to handle inflexible APIs that write their output to :data:`sys.stderr` and"
14771477
" don't provide any options to redirect it::"
14781478
msgstr ""
1479+
"新增的 :func:`~contextlib.redirect_stderr` :term:`context manager` (类似于 "
1480+
":func:`~contextlib.redirect_stdout`) 使得工具脚本更容易处理那些将输出写入到 :data:`sys.stderr` "
1481+
"并且不提供任何重定向选项的不灵活 API。"
14791482

14801483
#: ../../whatsnew/3.5.rst:1035
14811484
msgid "(Contributed by Berker Peksag in :issue:`22389`.)"
@@ -1490,6 +1493,8 @@ msgid ""
14901493
"The :meth:`~csv.csvwriter.writerow` method now supports arbitrary iterables,"
14911494
" not just sequences. (Contributed by Serhiy Storchaka in :issue:`23171`.)"
14921495
msgstr ""
1496+
"现在 :meth:`~csv.csvwriter.writerow` 方法可支持任意可迭代对象,而不仅是序列。 (由 Serhiy Storchaka "
1497+
"在 :issue:`23171` 中贡献。)"
14931498

14941499
#: ../../whatsnew/3.5.rst:1046
14951500
msgid "curses"
@@ -1513,6 +1518,8 @@ msgid ""
15131518
"flag has the value ``\"n\"``. (Contributed by Claudiu Popa in "
15141519
":issue:`18039`.)"
15151520
msgstr ""
1521+
"当设置旗标值为 ``\"n\"`` 时 :func:`dumb.open <dbm.dumb.open>` 将总是创建新的数据库。 (由 Claudiu"
1522+
" Popa 在 :issue:`18039` 中贡献。)"
15161523

15171524
#: ../../whatsnew/3.5.rst:1061
15181525
msgid "difflib"
@@ -1526,13 +1533,18 @@ msgid ""
15261533
"``\"ISO-8859-1\"`` to ``\"utf-8\"``. (Contributed by Berker Peksag in "
15271534
":issue:`2052`.)"
15281535
msgstr ""
1536+
"由 :meth:`HtmlDiff.make_file() <difflib.HtmlDiff.make_file>` 生成的 HTML "
1537+
"文档的字符集现在可通过使用新增的 *charset* 仅限关键字参数来自定义。 HTML 文档的默认字符集已从 ``\"ISO-8859-1\"`` "
1538+
"改为 ``\"utf-8\"``。 (由 Berker Peksag 在 :issue:`2052` 中贡献。)"
15291539

15301540
#: ../../whatsnew/3.5.rst:1070
15311541
msgid ""
15321542
"The :func:`~difflib.diff_bytes` function can now compare lists of byte "
15331543
"strings. This fixes a regression from Python 2. (Contributed by Terry J. "
15341544
"Reedy and Greg Ward in :issue:`17445`.)"
15351545
msgstr ""
1546+
"现在 :func:`~difflib.diff_bytes` 函数可能比较字节串的列表。 这修复了一个来自 Python 2 遗留总是。 (由 "
1547+
"Terry J. Reedy 和 Greg Ward 在 :issue:`17445` 中贡献。)"
15361548

15371549
#: ../../whatsnew/3.5.rst:1076
15381550
msgid "distutils"
@@ -1544,6 +1556,8 @@ msgid ""
15441556
"enable parallel building of extension modules. (Contributed by Antoine "
15451557
"Pitrou in :issue:`5309`.)"
15461558
msgstr ""
1559+
"现在 ``build`` 和 ``build_ext`` 命令都接受一个 ``-j`` 选项以启用扩展模块的并行编译。 (由 Antoine "
1560+
"Pitrou 在 :issue:`5309` 中贡献。)"
15471561

15481562
#: ../../whatsnew/3.5.rst:1082
15491563
msgid ""
@@ -1562,6 +1576,9 @@ msgid ""
15621576
":class:`unittest.TestSuite` if *module* contains no docstrings, instead of "
15631577
"raising :exc:`ValueError`. (Contributed by Glenn Jones in :issue:`15916`.)"
15641578
msgstr ""
1579+
"如果 *module* 不包含任何文档字符串则 :func:`~doctest.DocTestSuite` 函数将返回一个空的 "
1580+
":class:`unittest.TestSuite`,而不是引发 :exc:`ValueError`。 (由 Glenn Jones 在 "
1581+
":issue:`15916` 中贡献。)"
15651582

15661583
#: ../../whatsnew/3.5.rst:1096
15671584
msgid "email"

0 commit comments

Comments
 (0)
0