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

Skip to content

Commit 7b79b9e

Browse files
[po] auto sync
1 parent 5565656 commit 7b79b9e

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.50%", "updated_at": "2024-02-24T12:26:06Z"}
1+
{"translation": "91.52%", "updated_at": "2024-02-24T14:21:55Z"}

whatsnew/3.5.po

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,18 +1104,26 @@ msgid ""
11041104
"customize the task factory that :meth:`loop.create_task() "
11051105
"<asyncio.loop.create_task>` method uses. (Contributed by Yury Selivanov.)"
11061106
msgstr ""
1107+
"新增 :meth:`loop.set_task_factory() <asyncio.loop.set_task_factory>` 和 "
1108+
":meth:`loop.get_task_factory() <asyncio.loop.get_task_factory>` 方法用于自定义供 "
1109+
":meth:`loop.create_task() <asyncio.loop.create_task>` 方法使用的任务工厂。 (由 Yury "
1110+
"Selivanov 贡献。)"
11071111

11081112
#: ../../whatsnew/3.5.rst:814
11091113
msgid ""
11101114
"New :meth:`Queue.join() <asyncio.Queue.join>` and :meth:`Queue.task_done() "
11111115
"<asyncio.Queue.task_done>` queue methods. (Contributed by Victor Stinner.)"
11121116
msgstr ""
1117+
"新增 :meth:`Queue.join() <asyncio.Queue.join>` 和 :meth:`Queue.task_done() "
1118+
"<asyncio.Queue.task_done>` 队列方法。 (由 Victor Stinner 贡献。)"
11131119

11141120
#: ../../whatsnew/3.5.rst:818
11151121
msgid ""
11161122
"The ``JoinableQueue`` class was removed, in favor of the "
11171123
":class:`asyncio.Queue` class. (Contributed by Victor Stinner.)"
11181124
msgstr ""
1125+
"移除了 ``JoinableQueue`` 类,建议改用 :class:`asyncio.Queue` 类。 (由 Victor Stinner "
1126+
"贡献。)"
11191127

11201128
#: ../../whatsnew/3.5.rst:822
11211129
msgid "Updates in 3.5.1:"
@@ -1170,13 +1178,19 @@ msgid ""
11701178
"faster :class:`asyncio.Future` implementation. (Contributed by Yury "
11711179
"Selivanov.)"
11721180
msgstr ""
1181+
"新增 :meth:`loop.create_future() <asyncio.loop.create_future>` 方法用来创建 Future "
1182+
"对象。 这允许替代性的事件循环实现,比如 `uvloop "
1183+
"<https://github.com/MagicStack/uvloop>`_,以提供更快速的 :class:`asyncio.Future` 实现。"
1184+
" (由 Yury Selivanov 贡献。)"
11731185

11741186
#: ../../whatsnew/3.5.rst:850
11751187
msgid ""
11761188
"New :meth:`loop.get_exception_handler() "
11771189
"<asyncio.loop.get_exception_handler>` method to get the current exception "
11781190
"handler. (Contributed by Yury Selivanov.)"
11791191
msgstr ""
1192+
"新增 :meth:`loop.get_exception_handler() <asyncio.loop.get_exception_handler>`"
1193+
" 方法用于获取当前异常处理句柄。 (由 Yury Selivanov 贡献。)"
11801194

11811195
#: ../../whatsnew/3.5.rst:854
11821196
msgid ""
@@ -1194,13 +1208,18 @@ msgid ""
11941208
"optimized to avoid calling the system ``getaddrinfo`` function if the "
11951209
"address is already resolved. (Contributed by A. Jesse Jiryu Davis.)"
11961210
msgstr ""
1211+
":meth:`loop.create_connection() <asyncio.loop.create_connection>` 和 "
1212+
":meth:`loop.create_server() <asyncio.loop.create_server>` "
1213+
"方法已获得优化以避免当地址已被解析时调用系统的 ``getaddrinfo`` 函数。 (由 A. Jesse Jiryu Davis 贡献。)"
11971214

11981215
#: ../../whatsnew/3.5.rst:865
11991216
msgid ""
12001217
"The :meth:`loop.sock_connect(sock, address) <asyncio.loop.sock_connect>` no "
12011218
"longer requires the *address* to be resolved prior to the call. (Contributed"
12021219
" by A. Jesse Jiryu Davis.)"
12031220
msgstr ""
1221+
":meth:`loop.sock_connect(sock, address) <asyncio.loop.sock_connect>` "
1222+
"不再要求在其被调用之前已解析 *address*。 (由 A. Jesse Jiryu Davis 贡献。)"
12041223

12051224
#: ../../whatsnew/3.5.rst:871
12061225
msgid "bz2"
@@ -1212,6 +1231,9 @@ msgid ""
12121231
"method now accepts an optional *max_length* argument to limit the maximum "
12131232
"size of decompressed data. (Contributed by Nikolaus Rath in :issue:`15955`.)"
12141233
msgstr ""
1234+
"现在 :meth:`BZ2Decompressor.decompress <bz2.BZ2Decompressor.decompress>` "
1235+
"方法接受可选的 *max_length* 参数用来限制解压缩数据的大小上限。 (由 Nikolaus Rath 在 :issue:`15955` "
1236+
"中贡献。)"
12151237

12161238
#: ../../whatsnew/3.5.rst:879
12171239
msgid "cgi"
@@ -1222,6 +1244,8 @@ msgid ""
12221244
"The :class:`~cgi.FieldStorage` class now supports the :term:`context "
12231245
"manager` protocol. (Contributed by Berker Peksag in :issue:`20289`.)"
12241246
msgstr ""
1247+
"现在 :class:`~cgi.FieldStorage` 类已支持 :term:`context manager` 协议。 (由 Berker "
1248+
"Peksag 在 :issue:`20289` 中贡献。)"
12251249

12261250
#: ../../whatsnew/3.5.rst:886
12271251
msgid "cmath"
@@ -1232,6 +1256,8 @@ msgid ""
12321256
"A new function :func:`~cmath.isclose` provides a way to test for approximate"
12331257
" equality. (Contributed by Chris Barker and Tal Einat in :issue:`24270`.)"
12341258
msgstr ""
1259+
"新增函数 :func:`~cmath.isclose` 提供了一种测试近似相等的方式。 (由 Chris Barker 和 Tal Einat 在 "
1260+
":issue:`24270` 中贡献。)"
12351261

12361262
#: ../../whatsnew/3.5.rst:893
12371263
msgid "code"

0 commit comments

Comments
 (0)
0