Skip to content

Commit 6d11ff5

Browse files
committed
fix: tranlsate executor as 執行器
1 parent ec30e58 commit 6d11ff5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

library/asyncio-eventloop.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ msgstr "呼叫此函式時迴圈不得運行。將丟棄任何待處理的回呼
249249
msgid ""
250250
"This method clears all queues and shuts down the executor, but does not wait for the "
251251
"executor to finish."
252-
msgstr "此方法清除所有佇列並關閉執行程序,但不等待執行程序完成。"
252+
msgstr "此方法清除所有佇列並關閉執行器,但不等待執行器完成。"
253253

254254
#: ../../library/asyncio-eventloop.rst:162
255255
msgid ""
@@ -283,8 +283,8 @@ msgid ""
283283
"the :class:`~concurrent.futures.ThreadPoolExecutor`. Once this method has been called, using "
284284
"the default executor with :meth:`loop.run_in_executor` will raise a :exc:`RuntimeError`."
285285
msgstr ""
286-
"排程預設執行程序的關閉,並等待它加入 :class:`~concurrent.futures.ThreadPoolExecutor` 中的所有"
287-
"執行緒。一旦呼叫了此方法,使用預設執行程序與 :meth:`loop.run_in_executor` 將引發 :exc:"
286+
"排程預設執行器的關閉,並等待它加入 :class:`~concurrent.futures.ThreadPoolExecutor` 中的所有"
287+
"執行緒。一旦呼叫了此方法,使用預設執行器與 :meth:`loop.run_in_executor` 將引發 :exc:"
288288
"`RuntimeError`。"
289289

290290
#: ../../library/asyncio-eventloop.rst:194
@@ -293,22 +293,22 @@ msgid ""
293293
"executor will be given to finish joining. With the default, ``None``, the executor is "
294294
"allowed an unlimited amount of time."
295295
msgstr ""
296-
"*timeout* 引數指定執行程序完成加入所需的時間(以 :class:`float` 秒為單位)。預設情況下為 "
297-
"``None``,執行程序允許無限時間。"
296+
"*timeout* 引數指定執行器完成加入所需的時間(以 :class:`float` 秒為單位)。預設情況下為 "
297+
"``None``,執行器允許無限時間。"
298298

299299
#: ../../library/asyncio-eventloop.rst:199
300300
msgid ""
301301
"If the *timeout* is reached, a :exc:`RuntimeWarning` is emitted and the default executor is "
302302
"terminated without waiting for its threads to finish joining."
303303
msgstr ""
304-
"如果達到 *timeout*,將發出 :exc:`RuntimeWarning` 警告,預設執行程序將立即終止,不等待其執行緒"
304+
"如果達到 *timeout*,將發出 :exc:`RuntimeWarning` 警告,預設執行器將立即終止,不等待其執行緒"
305305
"完成加入。"
306306

307307
#: ../../library/asyncio-eventloop.rst:205
308308
msgid ""
309309
"Do not call this method when using :func:`asyncio.run`, as the latter handles default "
310310
"executor shutdown automatically."
311-
msgstr "使用 :func:`asyncio.run` 時請勿呼叫此方法,因為後者會自動處理預設執行程序的關閉。"
311+
msgstr "使用 :func:`asyncio.run` 時請勿呼叫此方法,因為後者會自動處理預設執行器的關閉。"
312312

313313
#: ../../library/asyncio-eventloop.rst:210
314314
msgid "Added the *timeout* parameter."

0 commit comments

Comments
 (0)