Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3edf847

Browse filesBrowse files
committed
Address PR comments
1 parent a904112 commit 3edf847
Copy full SHA for 3edf847

File tree

Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed

‎tutorial/datastructures.po

Copy file name to clipboardExpand all lines: tutorial/datastructures.po
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ msgstr ""
7575
msgid ""
7676
"Remove the first item from the list whose value is equal to *x*. It is an "
7777
"error if there is no such item."
78-
msgstr "刪除 list 中第一個值為 *x* 的元素。若 list 中無此元素則會產生錯誤。"
78+
msgstr "刪除 list 中第一個值等於為 *x* 的元素。若 list 中無此元素則會產生錯誤。"
7979

8080
#: ../../tutorial/datastructures.rst:50
8181
msgid ""
@@ -100,8 +100,8 @@ msgid ""
100100
"Return zero-based index in the list of the first item whose value is equal "
101101
"to *x*. Raises a :exc:`ValueError` if there is no such item."
102102
msgstr ""
103-
"回傳 list 中第一個值為 *x* 的索引值(從零開始索引)。若 list 中無此項目,則丟"
104-
"出 :exc:`ValueError`錯誤。"
103+
"回傳 list 中第一個值等於為 *x* 的項目之索引值(從零開始的索引)。若 list 中無此項目,則丟"
104+
"出 :exc:`ValueError` 錯誤。"
105105

106106
#: ../../tutorial/datastructures.rst:69
107107
msgid ""
@@ -553,9 +553,9 @@ msgid ""
553553
"of key:value pairs within the braces adds initial key:value pairs to the "
554554
"dictionary; this is also the way dictionaries are written on output."
555555
msgstr ""
556-
"思考 dict 最好的方式是把它想成是一組無序鍵值對 (*key: value* pair) 的集合,其"
556+
"思考 dict 最好的方式是把它想成是一組鍵值對 (*key: value* pair) 的集合,其"
557557
"中 key 在同一個 dictionary(字典)裡必須是獨一無二的。使用一對大括號可創建一"
558-
"個空的字典 :``{}`` 。將一串由逗號分隔的鍵對值置於大括號則可初始化字典 。這"
558+
"個空的字典 :``{}``。將一串由逗號分隔的鍵值對置於大括號則可初始化字典。這"
559559
"同樣也是字典輸出時的格式。"
560560

561561
#: ../../tutorial/datastructures.rst:506
@@ -577,9 +577,9 @@ msgid ""
577577
"``sorted(d)`` instead). To check whether a single key is in the dictionary, "
578578
"use the :keyword:`in` keyword."
579579
msgstr ""
580-
"對字典使用 ``list(d.keys())`` 會得到一個包含該字典所有鍵 (key),順序為任意排"
581-
"列的 list 。(若想要排序,則使用 ``sorted(d.keys())`` 代替即可)。如果想確認一"
582-
"個鍵是否已存在於字典當中,可使用關鍵字 :keyword:`in` 。"
580+
"對字典使用 ``list(d)`` 會得到一個包含該字典所有鍵 (key),其排列順序為插入時的順序。"
581+
"(若想要排序,則使用 ``sorted(d)`` 代替即可)。如果想確認一"
582+
"個鍵是否已存在於字典中,可使用關鍵字 :keyword:`in` 。"
583583

584584
#: ../../tutorial/datastructures.rst:517
585585
msgid "Here is a small example using a dictionary::"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.