Skip to content

Commit a6bb41d

Browse files
committed
feat: to rst:332
1 parent 949c73e commit a6bb41d

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

library/itertools.po

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2024-06-02 00:03+0000\n"
11-
"PO-Revision-Date: 2024-06-24 21:55+0800\n"
11+
"PO-Revision-Date: 2024-07-08 20:17+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -552,8 +552,8 @@ msgid ""
552552
"order of the input *iterable*. If the input *iterable* is sorted, the output "
553553
"tuples will be produced in sorted order."
554554
msgstr ""
555-
"根據輸入值 *iterable* 的順序,組合元組按字典順序輸出。如果輸入的 *iterable* "
556-
"已經排序,則輸出的元組也將按排序的順序產生。"
555+
"根據輸入值 *iterable* 的順序,組合的元組會按照字典順序輸出。如果輸入的 "
556+
"*iterable* 已經排序,則輸出的元組也將按排序的順序產生。"
557557

558558
#: ../../library/itertools.rst:232
559559
msgid ""
@@ -569,6 +569,7 @@ msgid ""
569569
"Return *r* length subsequences of elements from the input *iterable* "
570570
"allowing individual elements to be repeated more than once."
571571
msgstr ""
572+
"回傳來自輸入 *iterable* 的長度為 *r* 的子序列,且允許個別元素重複多次。"
572573

573574
#: ../../library/itertools.rst:266
574575
msgid ""
@@ -577,41 +578,54 @@ msgid ""
577578
"number of subsequence returned is ``(n + r - 1)! / r! / (n - 1)!`` when ``n "
578579
"> 0``."
579580
msgstr ""
581+
"其輸出是一個 :func:`product` 的子序列,僅保留作為 *iterable* 子序列(可能有重"
582+
"複元素)的條目。當 ``n > 0`` 時,回傳的子序列數量為 ``(n + r - 1)! / r! / (n "
583+
"- 1)!``。"
580584

581585
#: ../../library/itertools.rst:271
582586
msgid ""
583587
"The combination tuples are emitted in lexicographic order according to the "
584588
"order of the input *iterable*. if the input *iterable* is sorted, the output "
585589
"tuples will be produced in sorted order."
586590
msgstr ""
591+
"根據輸入值 *iterable* 的順序,組合的元組會按照字典順序輸出。如果輸入的 "
592+
"*iterable* 已經排序,則輸出的元組也將按排序的順序產生。"
587593

588594
#: ../../library/itertools.rst:275
589595
msgid ""
590596
"Elements are treated as unique based on their position, not on their value. "
591597
"If the input elements are unique, the generated combinations will also be "
592598
"unique."
593599
msgstr ""
600+
"元素是根據它們的位置來決定其唯一性,而不是它們的值。如果輸入的元素都是獨特"
601+
"的,生成的組合也將是獨特的。"
594602

595603
#: ../../library/itertools.rst:305
596604
msgid ""
597605
"Make an iterator that returns elements from *data* where the corresponding "
598606
"element in *selectors* is true. Stops when either the *data* or *selectors* "
599607
"iterables have been exhausted. Roughly equivalent to::"
600608
msgstr ""
609+
"建立一個疊代器,回傳 *data* 中對應 *selectors* 的元素為真的元素。當 *data* "
610+
"或 *selectors* 可疊代物件耗盡時停止。大致等價於: ::"
601611

602612
#: ../../library/itertools.rst:319
603613
msgid ""
604614
"Make an iterator that returns evenly spaced values beginning with *start*. "
605615
"Can be used with :func:`map` to generate consecutive data points or with :"
606616
"func:`zip` to add sequence numbers. Roughly equivalent to::"
607617
msgstr ""
618+
"建立一個疊代器,回傳從 *start* 開始的等差的值。可以與 :func:`map` 一起使用來"
619+
"產生連續的資料點,或與 :func:`zip` 一起使用來增加序列號。大致等價於: ::"
608620

609621
#: ../../library/itertools.rst:332
610622
msgid ""
611623
"When counting with floating point numbers, better accuracy can sometimes be "
612624
"achieved by substituting multiplicative code such as: ``(start + step * i "
613625
"for i in count())``."
614626
msgstr ""
627+
"當用浮點數計數時,將上述程式碼替換為乘法有時可以獲得更好的精確度,例如:"
628+
"``(start + step * i for i in count())``。"
615629

616630
#: ../../library/itertools.rst:336
617631
msgid "Added *step* argument and allowed non-integer arguments."

0 commit comments

Comments
 (0)