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

Skip to content

Commit 5949b54

Browse files
committed
[po] auto sync bot
1 parent 9e1e656 commit 5949b54

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

library/concurrent.futures.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ msgid ""
9090
"can be an int or a float. If *timeout* is not specified or ``None``, there "
9191
"is no limit to the wait time."
9292
msgstr ""
93-
"如果从原始调用到:meth:`Executor.map`经过*timeout*秒后,:meth:`~iterator.__next__`已被调用且返回的结果还不可用,那么已返回的迭代器将触发"
94-
" :exc:`concurrent.futures.TimeoutError` 。"
93+
"如果从原始调用到 :meth:`Executor.map` 经过 *timeout* 秒后,:meth:`~iterator.__next__` "
94+
"已被调用且返回的结果还不可用,那么已返回的迭代器将触发 :exc:`concurrent.futures.TimeoutError`。"
9595

9696
#: ../../library/concurrent.futures.rst:56
9797
msgid ""
@@ -120,6 +120,8 @@ msgid ""
120120
":meth:`Executor.submit` and :meth:`Executor.map` made after shutdown will "
121121
"raise :exc:`RuntimeError`."
122122
msgstr ""
123+
"当待执行的futures(期程)完成执行后向执行者发送信号,它就会释放正在使用的任何资源。调用 :meth:`Executor.submit` 和 "
124+
":meth:`Executor.submit` 会在关闭后触发 :exc:`RuntimeError`。"
123125

124126
#: ../../library/concurrent.futures.rst:77
125127
msgid ""
@@ -131,6 +133,10 @@ msgid ""
131133
"*wait*, the entire Python program will not exit until all pending futures "
132134
"are done executing."
133135
msgstr ""
136+
"如果*wait*为``True`` "
137+
",方法只有在所有待执行的futures(期程)完成执行且释放已分配的资源后才会返回。如果*wait*为``False`` "
138+
",方法立即返回,所有待执行的futures(期程)完成执行后会释放已分配的资源。不管 "
139+
"*wait*的值是什么,整个Python程序将等到所有待执行的futures(期程)完成执行后才退出。"
134140

135141
#: ../../library/concurrent.futures.rst:85
136142
msgid ""

0 commit comments

Comments
 (0)