Skip to content

Commit 753b912

Browse files
mattwang44josix
andauthored
Apply suggestions from code review
Co-authored-by: Josix <[email protected]>
1 parent 36e1034 commit 753b912

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/collections.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ msgid ""
13881388
"out)` order if *last* is true or :abbr:`FIFO (first-in, first-out)` order if "
13891389
"false."
13901390
msgstr ""
1391-
"Ordered dictionary 的 :meth:`popitem` 方法移除並回傳一個 (key, value) 鍵值"
1391+
"Ordered dictionary 的 :meth:`popitem` 方法移除並回傳一個鍵值(key, value"
13921392
"對。如果 *last* 為真值,則按 :abbr:`LIFO (last-in, first-out)` 後進先出的順序"
13931393
"回傳鍵值對,否則就按 :abbr:`FIFO (first-in, first-out)` 先進先出的順序回傳鍵"
13941394
"值對。"
@@ -1478,7 +1478,7 @@ msgid ""
14781478
"subclass directly from :class:`dict`; however, this class can be easier to "
14791479
"work with because the underlying dictionary is accessible as an attribute."
14801480
msgstr ""
1481-
":class:`UserDict` 類別 dict 物件的包裝器。因為已經可以直接自 :class:`dict` 建"
1481+
":class:`UserDict` 類別是作為 dict 物件的包裝器。因為已經可以直接自 :class:`dict` 建"
14821482
"立子類別,這個類別的需求已部分被滿足,不過這個類別使用起來更方便,因為被包裝"
14831483
"的字典可以作為其屬性來存取。"
14841484

@@ -1492,7 +1492,7 @@ msgid ""
14921492
msgstr ""
14931493
"模擬字典的類別。實例的內容被存於一個字典,可透過 :class:`UserDict` 的 :attr:"
14941494
"`data` 屬性來做存取。如果有提供 *initialdata*\\\\ :attr:`data` 屬性會被初"
1495-
"始化為其值;要注意指到 *initialdata* 的指標不會被保留,使其可被用於其他目的。"
1495+
"始化為其值;要注意指到 *initialdata* 的參照不會被保留,使其可被用於其他目的。"
14961496

14971497
#: ../../library/collections.rst:1287
14981498
msgid ""
@@ -1578,7 +1578,7 @@ msgid ""
15781578
"consult the sources for information about the methods which need to be "
15791579
"provided in that case."
15801580
msgstr ""
1581-
"如果希望一個自此獲得的子類別能夠別按照上述條件,那所有該類別支援的特殊方法則"
1581+
"如果希望一個自此獲得的子類別不遵從上述要求,那所有該類別支援的特殊方法則"
15821582
"必須被覆寫;請參考原始碼來理解在這情況下哪些方法是必須提供的。"
15831583

15841584
#: ../../library/collections.rst:1338
@@ -1592,7 +1592,7 @@ msgid ""
15921592
"directly from :class:`str`; however, this class can be easier to work with "
15931593
"because the underlying string is accessible as an attribute."
15941594
msgstr ""
1595-
":class:`UserString` 類別是字串物件的包裝器 因為已經可以從 :class:`str` 直接建"
1595+
":class:`UserString` 類別是字串物件的包裝器因為已經可以從 :class:`str` 直接建"
15961596
"立子類別,這個類別的需求已經部分被滿足,不過這個類別使用起來更方便,因為被包"
15971597
"裝的字串可以作為其屬性來存取。"
15981598

0 commit comments

Comments
 (0)