Skip to content

Commit e2b2398

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 3bfa608c
1 parent fcfd3db commit e2b2398

File tree

7 files changed

+691
-690
lines changed

7 files changed

+691
-690
lines changed

library/queue.po

+8-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.11\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2022-10-03 00:22+0000\n"
13+
"POT-Creation-Date: 2023-02-22 00:16+0000\n"
1414
"PO-Revision-Date: 2022-09-27 00:12+0800\n"
1515
"Last-Translator: Allen Wu <allen91.wu@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -116,9 +116,10 @@ msgstr ""
116116
"於零,則佇列大小為無限。"
117117

118118
#: ../../library/queue.rst:59
119+
#, fuzzy
119120
msgid ""
120121
"The lowest valued entries are retrieved first (the lowest valued entry is "
121-
"the one returned by ``sorted(list(entries))[0]``). A typical pattern for "
122+
"the one that would be returned by ``min(entries)``). A typical pattern for "
122123
"entries is a tuple in the form: ``(priority_number, data)``."
123124
msgstr ""
124125
"最低值的條目會最先被取出(最低值的條目是被 ``sorted(list(entries))[0]`` 回傳"
@@ -211,11 +212,11 @@ msgid ""
211212
"is immediately available, else raise the :exc:`Full` exception (*timeout* is "
212213
"ignored in that case)."
213214
msgstr ""
214-
"將 *item* 放入佇列中。如果可選的 args *block* 為 true、*timeout* 為 ``None``"
215-
"\\ (預設值),則在必要時阻塞,直到自由槽 (free slot) 可用。如果 *timeout* 為"
216-
"正數,則最多阻塞 *timeout* 秒,如果該時間內沒有可用的自由槽,則會引發 :exc:"
217-
"`Full` 例外。否則(*block* 為 false),如果自由槽立即可用,則將項目放在佇列"
218-
",否則引發 :exc:`Full` 例外(在這種情況下,*timeout* 將被忽略)。"
215+
"將 *item* 放入佇列中。如果可選的 args *block* 為 true、*timeout* 為 "
216+
"``None``\\ (預設值),則在必要時阻塞,直到自由槽 (free slot) 可用。如果 "
217+
"*timeout* 為正數,則最多阻塞 *timeout* 秒,如果該時間內沒有可用的自由槽,則會"
218+
"引發 :exc:`Full` 例外。否則(*block* 為 false),如果自由槽立即可用,則將項目"
219+
"放在佇列中,否則引發 :exc:`Full` 例外(在這種情況下,*timeout* 將被忽略)。"
219220

220221
#: ../../library/queue.rst:141
221222
msgid "Equivalent to ``put(item, block=False)``."

library/stdtypes.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.11\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2023-02-15 00:17+0000\n"
13+
"POT-Creation-Date: 2023-02-22 00:16+0000\n"
1414
"PO-Revision-Date: 2022-06-12 15:22+0800\n"
1515
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -145,7 +145,7 @@ msgid "``x or y``"
145145
msgstr "``x or y``"
146146

147147
#: ../../library/stdtypes.rst:87
148-
msgid "if *x* is false, then *y*, else *x*"
148+
msgid "if *x* is true, then *x*, else *y*"
149149
msgstr ""
150150

151151
#: ../../library/stdtypes.rst:87 ../../library/stdtypes.rst:285

0 commit comments

Comments
 (0)