Skip to content

Commit 786c56f

Browse files
ken71301mattwang44
andcommitted
Apply suggestions from code review
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
1 parent e7c287b commit 786c56f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

library/itertools.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ msgid ""
4242
"efficiently in pure Python."
4343
msgstr ""
4444
"這個模組標準化了快速且高效率利用記憶體的核心工具集,這些工具本身或組合使用都"
45-
"很有用。它們共同構成了一個\\ \"疊代器代數 (iterator algebra)\\ \" ,使得在純 "
45+
"很有用。它們共同構成了一個疊代器代數 (iterator algebra),使得在純 "
4646
"Python 中簡潔且高效地建構專用工具成為可能。"
4747

4848
#: ../../library/itertools.rst:29
@@ -52,7 +52,7 @@ msgid ""
5252
"by combining :func:`map` and :func:`count` to form ``map(f, count())``."
5353
msgstr ""
5454
"例如,SML 提供了一個造表工具:``tabulate(f)``,它產生一個序列 ``f(0), "
55-
"f(1), ...``。在 Python 中,可以通過結合 :func:`map` 和 :func:`count` 組成 "
55+
"f(1), ...``。在 Python 中,可以透過結合 :func:`map` 和 :func:`count` 組成 "
5656
"``map(f, count())`` 以達到同樣的效果。"
5757

5858
#: ../../library/itertools.rst:33
@@ -257,7 +257,7 @@ msgstr "iterable[, key]"
257257

258258
#: ../../library/itertools.rst:61
259259
msgid "sub-iterators grouped by value of key(v)"
260-
msgstr "根據 key(v) 的值分群的子疊代器"
260+
msgstr "根據 key(v) 的值分組的子疊代器"
261261

262262
#: ../../library/itertools.rst:62
263263
msgid ":func:`islice`"
@@ -341,7 +341,7 @@ msgstr "``zip_longest('ABCD', 'xy', fillvalue='-') → Ax By C- D-``"
341341

342342
#: ../../library/itertools.rst:70
343343
msgid "**Combinatoric iterators:**"
344-
msgstr "**\\ 組合疊代器:**"
344+
msgstr "**組合疊代器:**"
345345

346346
#: ../../library/itertools.rst:75
347347
msgid ":func:`product`"
@@ -561,7 +561,7 @@ msgid ""
561561
"If the input elements are unique, there will be no repeated values within "
562562
"each combination."
563563
msgstr ""
564-
"元素是根據它們的位置來決定其唯一性,而不是它們的值。如果輸入的元素都是獨特"
564+
"元素是根據它們的位置(而非值)來決定其唯一性。如果輸入的元素都是獨特"
565565
"的,則每個組合內將不會有重複的值。"
566566

567567
#: ../../library/itertools.rst:263
@@ -597,7 +597,7 @@ msgid ""
597597
"If the input elements are unique, the generated combinations will also be "
598598
"unique."
599599
msgstr ""
600-
"元素是根據它們的位置來決定其唯一性,而不是它們的值。如果輸入的元素都是獨特"
600+
"元素是根據它們的位置(而非值)來決定其唯一性。如果輸入的元素都是獨特"
601601
"的,生成的組合也將是獨特的。"
602602

603603
#: ../../library/itertools.rst:305
@@ -682,7 +682,7 @@ msgid ""
682682
msgstr ""
683683
"建立一個疊代器,回傳 *iterable* 中連續的鍵和群組。*key* 是一個為每個元素計算"
684684
"鍵值的函式。如果其未指定或為 ``None``,則 *key* 預設為一個識別性函式 "
685-
"(identity function ),並回傳未被更改的元素。一般來說,可疊代物件需要已經用相"
685+
"(identity function),並回傳未被更改的元素。一般來說,可疊代物件需要已經用相"
686686
"同的鍵函式進行排序。"
687687

688688
#: ../../library/itertools.rst:406

0 commit comments

Comments
 (0)