File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,8 @@ msgid ""
188
188
"to ``sorted(itertools.chain(*iterables), reverse=True)``, all iterables must "
189
189
"be sorted from largest to smallest."
190
190
msgstr ""
191
+ "*reverse* 是一個布林值。如果設定為 ``True`` ,那輸入的元素被 merge 時每一個比"
192
+ "較結果都是相反的。"
191
193
192
194
#: ../../library/heapq.rst:107
193
195
msgid "Added the optional *key* and *reverse* parameters."
@@ -216,6 +218,9 @@ msgid ""
216
218
"example, ``key=str.lower``). Equivalent to: ``sorted(iterable, key=key)[:"
217
219
"n]``."
218
220
msgstr ""
221
+ "回傳一個包含資料 *iterable* 中前 *n* 小元素的 list 。如果有指定 *key* 參數,"
222
+ "*key* 會是只有一個參數的函式,用來從每一個 *iterable* 的元素中決定一個比較的"
223
+ "依據:``key=str.lower`` 等價於 ``sorted(iterable, key=key)[:n]``"
219
224
220
225
#: ../../library/heapq.rst:128
221
226
msgid ""
You can’t perform that action at this time.
0 commit comments