Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80e1d32 commit 78ab3d7Copy full SHA for 78ab3d7
1 file changed
library/heapq.po
@@ -188,6 +188,8 @@ msgid ""
188
"to ``sorted(itertools.chain(*iterables), reverse=True)``, all iterables must "
189
"be sorted from largest to smallest."
190
msgstr ""
191
+"*reverse* 是一個布林值。如果設定為 ``True`` ,那輸入的元素被 merge 時每一個比"
192
+"較結果都是相反的。"
193
194
#: ../../library/heapq.rst:107
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]``."
220
221
+"回傳一個包含資料 *iterable* 中前 *n* 小元素的 list 。如果有指定 *key* 參數,"
222
+"*key* 會是只有一個參數的函式,用來從每一個 *iterable* 的元素中決定一個比較的"
223
+"依據:``key=str.lower`` 等價於 ``sorted(iterable, key=key)[:n]``"
224
225
#: ../../library/heapq.rst:128
226
msgid ""
0 commit comments