Skip to content

Commit 54c2dc5

Browse files
mattwang44josix
andauthored
Apply suggestions from code review
Co-authored-by: Josix <wilson8507@gmail.com>
1 parent 6dc3a89 commit 54c2dc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/collections.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ msgid ""
10491049
"position index."
10501050
msgstr ""
10511051
"Named tuple(具名元組)賦予 tuple 中各個位置意義,使程式碼更有可讀性與自我文"
1052-
"件性。它們可以用於任何普通 tuple,賦予其透過名稱(而非位置索引)來存取欄位的"
1052+
"件性。它們可以用於任何普通 tuple 可使用的場合,賦予其透過名稱(而非位置索引)來存取欄位的"
10531053
"能力。"
10541054

10551055
#: ../../library/collections.rst:840
@@ -1062,7 +1062,7 @@ msgid ""
10621062
msgstr ""
10631063
"回傳一個名為 *typename* 的新 tuple 子類別。這個新的子類別被用於建立類似 "
10641064
"tuple 的物件,可以透過屬性名稱來存取欄位,它同時也是可索引 (indexable) 和可疊"
1065-
"代的 (iterable)。子類別實例同樣有文件字串(有類別名 typename 和欄位名 "
1065+
"代的 (iterable)。子類別實例同樣有文件字串(docstring)(有類別名 typename 和欄位名 "
10661066
"field_names)和一個好用的 :meth:`__repr__` 方法,可將 tuple 內容以 "
10671067
"``name=value`` 格式列出。"
10681068

@@ -1180,7 +1180,7 @@ msgstr ""
11801180
#: ../../library/collections.rst:932
11811181
msgid ""
11821182
"Class method that makes a new instance from an existing sequence or iterable."
1183-
msgstr "從已存在的序列或可疊代物件建立一個新實例。"
1183+
msgstr "從已存在的序列或可疊代物件建立一個新實例的類別方法。"
11841184

11851185
#: ../../library/collections.rst:942
11861186
msgid ""

0 commit comments

Comments
 (0)