Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef6e8f5

Browse files
[po] auto sync
1 parent e74f009 commit ef6e8f5

2 files changed

Lines changed: 37 additions & 2 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.53%", "updated_at": "2024-02-24T15:22:27Z"}
1+
{"translation": "91.56%", "updated_at": "2024-02-25T00:28:53Z"}

whatsnew/3.5.po

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,10 @@ msgid ""
13321332
":meth:`~str.maketrans` methods to match the corresponding methods of "
13331333
":class:`str`. (Contributed by Joe Jevnik in :issue:`22189`.)"
13341334
msgstr ""
1335+
"现在 :class:`~collections.UserString` 类已实现 :meth:`__getnewargs__`, "
1336+
":meth:`__rmod__`, :meth:`~str.casefold`, :meth:`~str.format_map`, "
1337+
":meth:`~str.isprintable` 和 :meth:`~str.maketrans` 类以与对应的 :class:`str` 方法相匹配。"
1338+
" (由 Joe Jevnik 在 :issue:`22189` 中贡献。)"
13351339

13361340
#: ../../whatsnew/3.5.rst:938
13371341
msgid "collections.abc"
@@ -1344,12 +1348,17 @@ msgid ""
13441348
":class:`tuple`, :class:`list`, etc. (Contributed by Devin Jeanpierre in "
13451349
":issue:`23086`.)"
13461350
msgstr ""
1351+
"现在 :meth:`Sequence.index() <collections.abc.Sequence.index>` 方法接受 *start* 和 "
1352+
"*stop* 参数以与对应的 :class:`tuple`, :class:`list` 等的方法相匹配。 (由 Devin Jeanpierre 在 "
1353+
":issue:`23086` 中贡献。)"
13471354

13481355
#: ../../whatsnew/3.5.rst:945
13491356
msgid ""
13501357
"A new :class:`~collections.abc.Generator` abstract base class. (Contributed "
13511358
"by Stefan Behnel in :issue:`24018`.)"
13521359
msgstr ""
1360+
"新增 :class:`~collections.abc.Generator` 抽象基类。 (由 Stefan Behnel 在 "
1361+
":issue:`24018` 中贡献。)"
13531362

13541363
#: ../../whatsnew/3.5.rst:948
13551364
msgid ""
@@ -1359,12 +1368,18 @@ msgid ""
13591368
":class:`~collections.abc.AsyncIterable` abstract base classes. (Contributed "
13601369
"by Yury Selivanov in :issue:`24184`.)"
13611370
msgstr ""
1371+
"新增 :class:`~collections.abc.Awaitable`, :class:`~collections.abc.Coroutine`,"
1372+
" :class:`~collections.abc.AsyncIterator` 和 "
1373+
":class:`~collections.abc.AsyncIterable` 抽象基类。 (由 Yury Selivanov 在 "
1374+
":issue:`24184` 中贡献。)"
13621375

13631376
#: ../../whatsnew/3.5.rst:953
13641377
msgid ""
13651378
"For earlier Python versions, a backport of the new ABCs is available in an "
13661379
"external `PyPI package <https://pypi.org/project/backports_abc>`_."
13671380
msgstr ""
1381+
"对于更早的 Python,这些新 ABC 的向下移植版可通过一个外部的 `PyPI 包 "
1382+
"<https://pypi.org/project/backports_abc>`_ 来获取。"
13681383

13691384
#: ../../whatsnew/3.5.rst:958
13701385
msgid "compileall"
@@ -1377,12 +1392,15 @@ msgid ""
13771392
":func:`~compileall.compile_dir` function has a corresponding ``workers`` "
13781393
"parameter. (Contributed by Claudiu Popa in :issue:`16104`.)"
13791394
msgstr ""
1395+
"新增 :mod:`compileall` 选项 :samp:`-j {N}`,允许同时运行 *N* 个工作进程来执行并行的字节码编译。 "
1396+
":func:`~compileall.compile_dir` 函数增加了相应的 ``workers`` 形参。 (由 Claudiu Popa 在 "
1397+
":issue:`16104` 中贡献。)"
13801398

13811399
#: ../../whatsnew/3.5.rst:965
13821400
msgid ""
13831401
"Another new option, ``-r``, allows controlling the maximum recursion level "
13841402
"for subdirectories. (Contributed by Claudiu Popa in :issue:`19628`.)"
1385-
msgstr ""
1403+
msgstr "另一个新选项 ``-r``,允许控制最大的子目录递归层级。 (由 Claudiu Popa 在 :issue:`19628` 中贡献。)"
13861404

13871405
#: ../../whatsnew/3.5.rst:968
13881406
msgid ""
@@ -1393,6 +1411,10 @@ msgid ""
13931411
"now accept an integer value indicating the level of output suppression. "
13941412
"(Contributed by Thomas Kluyver in :issue:`21338`.)"
13951413
msgstr ""
1414+
"现在可以多次指定 ``-q`` 命令行选项,在此情况下,所有输出包括错误都将被抑制。 在 "
1415+
":func:`~compileall.compile_dir`, :func:`~compileall.compile_file` 和 "
1416+
":func:`~compileall.compile_path` 中相应的 ``quiet`` 形参现在可接受一个整数值来指明输出抑制的级别。 (由 "
1417+
"Thomas Kluyver 在 :issue:`21338` 中贡献。)"
13961418

13971419
#: ../../whatsnew/3.5.rst:977
13981420
msgid "concurrent.futures"
@@ -1405,13 +1427,18 @@ msgid ""
14051427
"performance when :meth:`~concurrent.futures.ProcessPoolExecutor` is used. "
14061428
"(Contributed by Dan O'Reilly in :issue:`11271`.)"
14071429
msgstr ""
1430+
"现在 :meth:`Executor.map() <concurrent.futures.Executor.map>` 方法接受一个 "
1431+
"*chunksize* 参数以允许在使用 :meth:`~concurrent.futures.ProcessPoolExecutor` "
1432+
"设置任务批次来提升运行效率。 (由 Dan O'Reilly 在 :issue:`11271` 中贡献。)"
14081433

14091434
#: ../../whatsnew/3.5.rst:984
14101435
msgid ""
14111436
"The number of workers in the :class:`~concurrent.futures.ThreadPoolExecutor`"
14121437
" constructor is optional now. The default value is 5 times the number of "
14131438
"CPUs. (Contributed by Claudiu Popa in :issue:`21527`.)"
14141439
msgstr ""
1440+
"现在 :class:`~concurrent.futures.ThreadPoolExecutor` 构造器中的工作线程数量是可选的。 默认值为 CPU"
1441+
" 数量的 5 倍。 (由 Claudiu Popa 在 :issue:`21527` 中贡献。)"
14151442

14161443
#: ../../whatsnew/3.5.rst:990
14171444
msgid "configparser"
@@ -1425,6 +1452,9 @@ msgid ""
14251452
"methods in ``ConfigParser`` subclasses. Converters defined in a parser "
14261453
"instance are inherited by its section proxies."
14271454
msgstr ""
1455+
"现在 :mod:`configparser` 提供了一种方式通过在 :class:`~configparser.ConfigParser` "
1456+
"构造器中指定一个由转换器组成的字典,或将它们定义为 ``ConfigParser`` 子类中的方法来定制值的转换。 "
1457+
"在解析器实例中定义的转换器将被它的节代理所继承。"
14281458

14291459
#: ../../whatsnew/3.5.rst:998
14301460
msgid "Example::"
@@ -1445,6 +1475,9 @@ msgid ""
14451475
" to handle inflexible APIs that write their output to :data:`sys.stderr` and"
14461476
" don't provide any options to redirect it::"
14471477
msgstr ""
1478+
"新增的 :func:`~contextlib.redirect_stderr` :term:`context manager` (类似于 "
1479+
":func:`~contextlib.redirect_stdout`) 使得工具脚本更容易处理那些将输出写入到 :data:`sys.stderr` "
1480+
"并且不提供任何重定向选项的不灵活 API。"
14481481

14491482
#: ../../whatsnew/3.5.rst:1035
14501483
msgid "(Contributed by Berker Peksag in :issue:`22389`.)"
@@ -1459,6 +1492,8 @@ msgid ""
14591492
"The :meth:`~csv.csvwriter.writerow` method now supports arbitrary iterables,"
14601493
" not just sequences. (Contributed by Serhiy Storchaka in :issue:`23171`.)"
14611494
msgstr ""
1495+
"现在 :meth:`~csv.csvwriter.writerow` 方法可支持任意可迭代对象,而不仅是序列。 (由 Serhiy Storchaka "
1496+
"在 :issue:`23171` 中贡献。)"
14621497

14631498
#: ../../whatsnew/3.5.rst:1046
14641499
msgid "curses"

0 commit comments

Comments
 (0)