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

Skip to content

Commit b5df2e5

Browse files
committed
[po] auto sync bot
1 parent 76c739e commit b5df2e5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

library/concurrent.futures.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ msgstr ""
9898
msgid ""
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
104104
msgid ""
@@ -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."
111111
msgstr ""
112+
"使用:class:`ProcessPoolExecutor`时,它会将 *iterables* "
113+
"分割任务块并作为独立的任务并提交到执行池中。这些块的大概数量可以由*chunksize*指定正整数设置。对很长的迭代器来说,使用大的*chunksize*值比默认值1能显著地提高性能。*chunksize*对"
114+
" :class:`ThreadPoolExecutor`没有效果。"
112115

113116
#: ../../library/concurrent.futures.rst:67
114117
msgid "Added the *chunksize* argument."

0 commit comments

Comments
 (0)