File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,8 +90,9 @@ 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."
9292msgstr ""
93- "如果从原始调用到 :meth:`Executor.map` 经过 *timeout* 秒后,:meth:`~iterator.__next__` "
94- "已被调用且返回的结果还不可用,那么已返回的迭代器将触发 :exc:`concurrent.futures.TimeoutError`。"
93+ "如果 :meth:`~iterator.__next__` 已被调用且返回的结果在对 :meth:`Executor.map` 的原始调用经过 "
94+ "*timeout* 秒后还不可用,则已返回的迭代器将引发 :exc:`concurrent.futures.TimeoutError`。 "
95+ "*timeout* 可以为 int 或 float 类型。 如果 *timeout* 未指定或为 ``None``,则不限制等待时间。"
9596
9697#: ../../library/concurrent.futures.rst:56
9798msgid ""
@@ -133,10 +134,9 @@ msgid ""
133134"*wait*, the entire Python program will not exit until all pending futures "
134135"are done executing."
135136msgstr ""
136- "如果*wait*为``True`` "
137- ",方法只有在所有待执行的futures(期程)完成执行且释放已分配的资源后才会返回。如果*wait*为``False`` "
138- ",方法立即返回,所有待执行的futures(期程)完成执行后会释放已分配的资源。不管 "
139- "*wait*的值是什么,整个Python程序将等到所有待执行的futures(期程)完成执行后才退出。"
137+ "如果 *wait* 为 ``True`` 则此方法只有在所有待执行的 future (期程) 完成执行且释放已分配的资源后才会返回。 如果 *wait*"
138+ " 为 ``False``,方法立即返回,所有待执行的 future 完成执行后会释放已分配的资源。 不管 *wait* 的值是什么,整个 Python "
139+ "程序将等到所有待执行的 future 完成执行后才退出。"
140140
141141#: ../../library/concurrent.futures.rst:85
142142msgid ""
You can’t perform that action at this time.
0 commit comments