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

Skip to content

Commit 9afb90e

Browse files
committed
[po] auto sync bot
1 parent db08f86 commit 9afb90e

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

library/concurrent.futures.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# MuSheng Chen <[email protected]>, 2019
87
# Freesand Leo <[email protected]>, 2019
8+
# MuSheng Chen <[email protected]>, 2019
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1616
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
17+
"Last-Translator: MuSheng Chen <sheng.2179@gmail.com>, 2019\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -160,7 +160,7 @@ msgstr ""
160160
msgid ""
161161
"Deadlocks can occur when the callable associated with a :class:`Future` "
162162
"waits on the results of another :class:`Future`. For example::"
163-
msgstr ""
163+
msgstr "当回调已关联了一个 :class:`Future`然后再等待另一个:class:`Future`的结果时就会发产死锁情况。例如::"
164164

165165
#: ../../library/concurrent.futures.rst:123
166166
msgid "And::"
@@ -231,6 +231,8 @@ msgid ""
231231
"Calling :class:`Executor` or :class:`Future` methods from a callable "
232232
"submitted to a :class:`ProcessPoolExecutor` will result in deadlock."
233233
msgstr ""
234+
"从提交给:class:`ProcessPoolExecutor`的回调中调用:class:`Executor`或:class:`Future` "
235+
"方法会导致死锁。"
234236

235237
#: ../../library/concurrent.futures.rst:214
236238
msgid ""
@@ -259,6 +261,7 @@ msgid ""
259261
"undefined but operations on the executor or its futures would often freeze "
260262
"or deadlock."
261263
msgstr ""
264+
"如果其中一个工作进程被突然终止,:exc:`BrokenProcessPool`就会马上触发。可预计的行为没有定义,但执行器上的操作或它futures(期程)会被冻结或死锁。"
262265

263266
#: ../../library/concurrent.futures.rst:235
264267
msgid ""
@@ -279,13 +282,14 @@ msgid ""
279282
"The :class:`Future` class encapsulates the asynchronous execution of a "
280283
"callable. :class:`Future` instances are created by :meth:`Executor.submit`."
281284
msgstr ""
285+
":class:`Future` 类将回调封装为异步执行。:class:`Future` 实例由 :meth:`Executor.submit`创建。"
282286

283287
#: ../../library/concurrent.futures.rst:286
284288
msgid ""
285289
"Encapsulates the asynchronous execution of a callable. :class:`Future` "
286290
"instances are created by :meth:`Executor.submit` and should not be created "
287291
"directly except for testing."
288-
msgstr ""
292+
msgstr "将回调封装为异步执行。:class:`Future` 实例由 :meth:`Executor.submit`创建,除非测试,不应直接创建。"
289293

290294
#: ../../library/concurrent.futures.rst:292
291295
msgid ""

0 commit comments

Comments
 (0)