@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.10\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2022-04-15 00:13+0000\n "
14
- "PO-Revision-Date : 2022-09-24 14:29 +0800\n "
14
+ "PO-Revision-Date : 2022-09-26 15:56 +0800\n "
15
15
"Last-Translator : Allen Wu <allen91.wu@gmail.com>\n "
16
16
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
17
17
"tw)\n "
@@ -99,9 +99,9 @@ msgid ""
99
99
"until queue items are consumed. If *maxsize* is less than or equal to zero, "
100
100
"the queue size is infinite."
101
101
msgstr ""
102
- "`LIFO (last-in, first-out)` 佇列的建構子。*maxsize* 是一個整數,用於設置佇列 "
103
- "中可放置的項目數的上限 。一旦達到此大小,插入將被鎖定,到佇列中的項目被消耗。 "
104
- "如果 *maxsize* 小於或等於零,則佇列大小為無限。"
102
+ ":abbr: `LIFO (last-in, first-out)` 佇列的建構子。*maxsize* 是一個整數,用於設 "
103
+ "置佇列中可放置的項目數的上限 。一旦達到此大小,插入將被鎖定,到佇列中的項目被 "
104
+ "消耗。 如果 *maxsize* 小於或等於零,則佇列大小為無限。"
105
105
106
106
#: ../../library/queue.rst:54
107
107
msgid ""
@@ -267,17 +267,17 @@ msgid ""
267
267
"threads. For each :meth:`get` used to fetch a task, a subsequent call to :"
268
268
"meth:`task_done` tells the queue that the processing on the task is complete."
269
269
msgstr ""
270
- "指示指示先前放入佇列的任務已完成 。由佇列消費者執行緒使用。對於用來提取任務的 "
271
- "每個 :meth:`get`,隨後呼叫 :meth:`task_done` 告訴佇列任務的處理已完成。"
270
+ "表示先前放入佇列的任務已完成 。由佇列消費者執行緒使用。對於用來提取任務的每 "
271
+ "個 :meth:`get`,隨後呼叫 :meth:`task_done` 告訴佇列任務的處理已完成。"
272
272
273
273
#: ../../library/queue.rst:173
274
274
msgid ""
275
275
"If a :meth:`join` is currently blocking, it will resume when all items have "
276
276
"been processed (meaning that a :meth:`task_done` call was received for every "
277
277
"item that had been :meth:`put` into the queue)."
278
278
msgstr ""
279
- "如果目前 :meth:`join` 阻塞,則當所有項目都已處理完畢後,它將恢復(這意味著對 "
280
- "於 : meth:`put` 已進入佇列的每個項目,都收到 :meth:`task_done` 的呼叫)。"
279
+ "如果目前 :meth:`join` 阻塞,它將會在所有項目都已處理完畢後恢復(代表對於以 : "
280
+ "meth:`put` 放進佇列的每個項目,都要收到 :meth:`task_done` 的呼叫)。"
281
281
282
282
#: ../../library/queue.rst:177
283
283
msgid ""
@@ -340,9 +340,9 @@ msgid ""
340
340
"The optional args *block* and *timeout* are ignored and only provided for "
341
341
"compatibility with :meth:`Queue.put`."
342
342
msgstr ""
343
- "將 *item* 放入佇列中。此 method 從不阻塞,並且都會成功(潛在的低階錯誤,像是 "
344
- "分配記憶體失敗除外 )。可選的 args *block* 和 *timeout* 將被忽略,並且僅用於 "
345
- "與 :meth:`Queue.put` 相容 。"
343
+ "將 *item* 放入佇列中。此 method 從不阻塞,並且都會成功(除了潛在的低階錯誤, "
344
+ "像是分配記憶體失敗 )。可選的 args *block* 和 *timeout* 會被忽略,它們僅是為了 "
345
+ "與 :meth:`Queue.put` 相容才存在 。"
346
346
347
347
#: ../../library/queue.rst:252
348
348
msgid ""
@@ -384,6 +384,6 @@ msgid ""
384
384
"`~collections.deque.popleft` operations that do not require locking and also "
385
385
"support indexing."
386
386
msgstr ""
387
- ":class:`collections.deque` 是無界佇列的替代實作,具有快速原子 :meth: "
388
- "`~collections.deque.append` 和 :meth:`~collections.deque.popleft` 操作,這些 "
389
- "操作不需要鎖定 ,並且還支持索引。"
387
+ ":class:`collections.deque` 是無界佇列的替代實作,有快速且具原子性 (atomic) "
388
+ "的 :meth: `~collections.deque.append` 和 :meth:`~collections.deque.popleft` 操 "
389
+ "作,這些操作不需要鎖定 ,並且還支持索引。"
0 commit comments