@@ -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-26 15:56 +0800\n "
14
+ "PO-Revision-Date : 2022-09-26 16:00 +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 "
@@ -148,15 +148,15 @@ msgid ""
148
148
"get_nowait`) is called on a :class:`Queue` object which is empty."
149
149
msgstr ""
150
150
"當對一個空的 :class:`Queue` 物件呼叫非阻塞的 (non-blocking) :meth:`~Queue."
151
- "get`\\ (或 :meth:`~Queue.get_nowait`\\ )將引發此例外。"
151
+ "get`(或 :meth:`~Queue.get_nowait`)將引發此例外。"
152
152
153
153
#: ../../library/queue.rst:91
154
154
msgid ""
155
155
"Exception raised when non-blocking :meth:`~Queue.put` (or :meth:`~Queue."
156
156
"put_nowait`) is called on a :class:`Queue` object which is full."
157
157
msgstr ""
158
- "當對一個已滿的 :class:`Queue` 物件呼叫非阻塞的 :meth:`~Queue.put`\\ (或 :"
159
- "meth: `~Queue.put_nowait`)將引發此例外。"
158
+ "當對一個已滿的 :class:`Queue` 物件呼叫非阻塞的 :meth:`~Queue.put`(或 :meth :"
159
+ "`~Queue.put_nowait`)將引發此例外。"
160
160
161
161
#: ../../library/queue.rst:99
162
162
msgid "Queue Objects"
@@ -167,8 +167,8 @@ msgid ""
167
167
"Queue objects (:class:`Queue`, :class:`LifoQueue`, or :class:"
168
168
"`PriorityQueue`) provide the public methods described below."
169
169
msgstr ""
170
- "佇列物件(\\ :class:`Queue`\\ 、 \\ :class:`LifoQueue`\\ 、 \\ :class:"
171
- "`PriorityQueue` \\ )提供下面描述的公用 method。"
170
+ "佇列物件(:class:`Queue`、 :class:`LifoQueue`、 :class:`PriorityQueue`)提供下 "
171
+ "面描述的公用 method。"
172
172
173
173
#: ../../library/queue.rst:107
174
174
msgid ""
@@ -211,11 +211,11 @@ msgid ""
211
211
"is immediately available, else raise the :exc:`Full` exception (*timeout* is "
212
212
"ignored in that case)."
213
213
msgstr ""
214
- "將 *item* 放入佇列中。如果可選的 args *block* 為 true、*timeout* 為 ``None`` "
215
- "\\ (預設值),則在必要時阻塞,直到自由槽 (free slot) 可用。如果 *timeout* 為 "
216
- "正數 ,則最多阻塞 *timeout* 秒,如果該時間內沒有可用的自由槽,則會引發 :exc: "
217
- "`Full` 例外。否則(*block* 為 false),如果自由槽立即可用,則將項目放在佇列 "
218
- "中 ,否則引發 :exc:`Full` 例外(在這種情況下,*timeout* 將被忽略)。"
214
+ "將 *item* 放入佇列中。如果可選的 args *block* 為 true、*timeout* 為 "
215
+ "``None`` (預設值),則在必要時阻塞,直到自由槽 (free slot) 可用。如果 "
216
+ "*timeout* 為正數 ,則最多阻塞 *timeout* 秒,如果該時間內沒有可用的自由槽,則會 "
217
+ "引發 :exc: `Full` 例外。否則(*block* 為 false),如果自由槽立即可用,則將項目 "
218
+ "放在佇列中 ,否則引發 :exc:`Full` 例外(在這種情況下,*timeout* 將被忽略)。"
219
219
220
220
#: ../../library/queue.rst:141
221
221
msgid "Equivalent to ``put(item, block=False)``."
@@ -232,10 +232,10 @@ msgid ""
232
232
"ignored in that case)."
233
233
msgstr ""
234
234
"從佇列中移除並回傳一個項目。如果可選的 args *block* 為 true,且 *timeout* 為 "
235
- "``None``\\ (預設值),則在必要時阻塞,直到有可用的項目。如果 *timeout* 是正 "
236
- "數, 則最多會阻塞 *timeout* 秒,如果該時間內沒有可用的項目,則會引發 :exc:"
237
- "`Empty` 例外。否則(*block* 為 false),如果立即可用,則回傳一個項目,否則引 "
238
- "發 :exc: `Empty` 例外(在這種情況下,*timeout* 將被忽略)。"
235
+ "``None``(預設值),則在必要時阻塞,直到有可用的項目。如果 *timeout* 是正數, "
236
+ "則最多會阻塞 *timeout* 秒,如果該時間內沒有可用的項目,則會引發 :exc:`Empty` "
237
+ "例外。否則(*block* 為 false),如果立即可用,則回傳一個項目,否則引發 :exc: "
238
+ "`Empty` 例外(在這種情況下,*timeout* 將被忽略)。"
239
239
240
240
#: ../../library/queue.rst:153
241
241
msgid ""
@@ -247,7 +247,7 @@ msgid ""
247
247
msgstr ""
248
248
"在 POSIX 系統的 3.0 版之前,以及 Windows 的所有版本,如果 *block* 為 true 且 "
249
249
"*timeout* 為 ``None``,則此操作將在底層鎖上進入不間斷等待。這意味著不會發生例"
250
- "外,特別是 SIGINT(中斷訊號)不會觸發 :exc:`KeyboardInterrupt`\\ 。"
250
+ "外,特別是 SIGINT(中斷訊號)不會觸發 :exc:`KeyboardInterrupt`。"
251
251
252
252
#: ../../library/queue.rst:161 ../../library/queue.rst:268
253
253
msgid "Equivalent to ``get(False)``."
@@ -283,7 +283,7 @@ msgstr ""
283
283
msgid ""
284
284
"Raises a :exc:`ValueError` if called more times than there were items placed "
285
285
"in the queue."
286
- msgstr "如果呼叫次數超過佇列中放置的項目數量,則引發 :exc:`ValueError`\\ 。"
286
+ msgstr "如果呼叫次數超過佇列中放置的項目數量,則引發 :exc:`ValueError`。"
287
287
288
288
#: ../../library/queue.rst:183
289
289
msgid "Blocks until all items in the queue have been gotten and processed."
@@ -362,10 +362,10 @@ msgid ""
362
362
"ignored in that case)."
363
363
msgstr ""
364
364
"從佇列中移除並回傳一個項目。如果可選的 args *block* 為 true,且 *timeout* 為 "
365
- "``None``\\ (預設值),則在必要時阻塞,直到有可用的項目。如果 *timeout* 是正 "
366
- "數, 則最多會阻塞 *timeout* 秒,如果該時間內沒有可用的項目,則會引發 :exc:"
367
- "`Empty` 例外。否則(*block* 為 false),如果立即可用,則回傳一個項目,否則引 "
368
- "發 :exc: `Empty` 例外(在這種情況下,*timeout* 將被忽略)。"
365
+ "``None``(預設值),則在必要時阻塞,直到有可用的項目。如果 *timeout* 是正數, "
366
+ "則最多會阻塞 *timeout* 秒,如果該時間內沒有可用的項目,則會引發 :exc:`Empty` "
367
+ "例外。否則(*block* 為 false),如果立即可用,則回傳一個項目,否則引發 :exc: "
368
+ "`Empty` 例外(在這種情況下,*timeout* 將被忽略)。"
369
369
370
370
#: ../../library/queue.rst:275
371
371
msgid "Class :class:`multiprocessing.Queue`"
0 commit comments