File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ msgstr ""
9898msgid ""
9999"If a *func* call raises an exception, then that exception will be raised "
100100"when its value is retrieved from the iterator."
101- msgstr ""
101+ msgstr "如果*func*调用引发一个异常,当从迭代器中取回它的值时这个异常将被引发。 "
102102
103103#: ../../library/concurrent.futures.rst:59
104104msgid ""
@@ -109,6 +109,9 @@ msgid ""
109109"*chunksize* can significantly improve performance compared to the default "
110110"size of 1. With :class:`ThreadPoolExecutor`, *chunksize* has no effect."
111111msgstr ""
112+ "使用:class:`ProcessPoolExecutor`时,它会将 *iterables* "
113+ "分割任务块并作为独立的任务并提交到执行池中。这些块的大概数量可以由*chunksize*指定正整数设置。对很长的迭代器来说,使用大的*chunksize*值比默认值1能显著地提高性能。*chunksize*对"
114+ " :class:`ThreadPoolExecutor`没有效果。"
112115
113116#: ../../library/concurrent.futures.rst:67
114117msgid "Added the *chunksize* argument."
You can’t perform that action at this time.
0 commit comments