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

Skip to content

Commit 11c8697

Browse files
committed
[po] auto sync bot
1 parent 43c6cb6 commit 11c8697

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

library/asyncio-policy.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -246,60 +246,60 @@ msgstr "处理函数成功删除时返回 ``True`` ,没有删除时返回 ``Fa
246246

247247
#: ../../library/asyncio-policy.rst:168
248248
msgid "Attach the watcher to an event loop."
249-
msgstr ""
249+
msgstr "给一个事件循环绑定监视器。"
250250

251251
#: ../../library/asyncio-policy.rst:170
252252
msgid ""
253253
"If the watcher was previously attached to an event loop, then it is first "
254254
"detached before attaching to the new loop."
255-
msgstr ""
255+
msgstr "如果监视器之前已绑定另一个事件循环,那么在绑定新循环前会先解绑原来的事件循环。"
256256

257257
#: ../../library/asyncio-policy.rst:173
258258
msgid "Note: loop may be ``None``."
259-
msgstr ""
259+
msgstr "注意:循环有可能是 ``None`` 。"
260260

261261
#: ../../library/asyncio-policy.rst:177
262262
msgid "Close the watcher."
263-
msgstr ""
263+
msgstr "关闭监视器。"
264264

265265
#: ../../library/asyncio-policy.rst:179
266266
msgid ""
267267
"This method has to be called to ensure that underlying resources are "
268268
"cleaned-up."
269-
msgstr ""
269+
msgstr "必须调用这个方法以确保相关资源会被清理。"
270270

271271
#: ../../library/asyncio-policy.rst:184
272272
msgid ""
273273
"This implementation avoids disrupting other code spawning processes by "
274274
"polling every process explicitly on a :py:data:`SIGCHLD` signal."
275-
msgstr ""
275+
msgstr "这个实现通过显式地轮询每个进程上的 :py:data:`SIGCHLD` 信号来避免中断其他代码洐生进程。"
276276

277277
#: ../../library/asyncio-policy.rst:187
278278
msgid ""
279279
"This is a safe solution but it has a significant overhead when handling a "
280280
"big number of processes (*O(n)* each time a :py:data:`SIGCHLD` is received)."
281-
msgstr ""
281+
msgstr "这是一种安全的解决方案,但在处理大量进程时,它会带来很大的开销( *O(n)* 每次接收到 :py:data:`SIGCHLD` )。"
282282

283283
#: ../../library/asyncio-policy.rst:191
284284
msgid "asyncio uses this safe implementation by default."
285-
msgstr ""
285+
msgstr "asyncio默认使用这种安全的实现。"
286286

287287
#: ../../library/asyncio-policy.rst:195
288288
msgid ""
289289
"This implementation reaps every terminated processes by calling "
290290
"``os.waitpid(-1)`` directly, possibly breaking other code spawning processes"
291291
" and waiting for their termination."
292-
msgstr ""
292+
msgstr "这种实现直接调用 ``os.waitpid(-1)`` 来获取所有已结束的进程,可能会中断其它代码洐生进程并等待它们结束。"
293293

294294
#: ../../library/asyncio-policy.rst:199
295295
msgid ""
296296
"There is no noticeable overhead when handling a big number of children "
297297
"(*O(1)* each time a child terminates)."
298-
msgstr ""
298+
msgstr "在处理大量子监视器时没有明显的开销( *O(1)* 每次子监视器结束)。"
299299

300300
#: ../../library/asyncio-policy.rst:204
301301
msgid "Custom Policies"
302-
msgstr ""
302+
msgstr "自定义策略"
303303

304304
#: ../../library/asyncio-policy.rst:206
305305
msgid ""

library/exceptions.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ msgstr "此方法将 *tb* 设为异常的新回溯信息并返回该异常对象
173173
msgid ""
174174
"All built-in, non-system-exiting exceptions are derived from this class. "
175175
"All user-defined exceptions should also be derived from this class."
176-
msgstr "所有内置的非系统退出类异常都派生自此类。 所有用户自定义异常也应当没打算自此类。"
176+
msgstr "所有内置的非系统退出类异常都派生自此类。 所有用户自定义异常也应当派生自此类。"
177177

178178
#: ../../library/exceptions.rst:111
179179
msgid ""

0 commit comments

Comments
 (0)