Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbc526f

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

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

library/collections.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.10\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-28 17:11+0000\n"
14-
"PO-Revision-Date: 2022-01-13 00:39+0800\n"
14+
"PO-Revision-Date: 2022-01-14 13:26+0800\n"
1515
"Last-Translator: Matt Wang <[email protected]>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1717
"tw)\n"
@@ -1359,8 +1359,8 @@ msgid ""
13591359
"The :meth:`popitem` method of :class:`OrderedDict` has a different "
13601360
"signature. It accepts an optional argument to specify which item is popped."
13611361
msgstr ""
1362-
":class:`OrderedDict` 類別的 :meth:`popitem` 方法有不同的 signature,它接受傳"
1363-
"入一個選擇性引數來指定要移除哪個元素。"
1362+
":class:`OrderedDict` 類別的 :meth:`popitem` 方法有不同的函數簽名 "
1363+
"(signature),它接受傳入一個選擇性引數來指定要移除哪個元素。"
13641364

13651365
#: ../../library/collections.rst:1098
13661366
msgid ""
@@ -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,9 +1478,9 @@ 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` 建"
1482-
"立子類別,這個類別的需求已部分被滿足,不過這個類別使用起來更方便,因為被包裝"
1483-
"的字典可以作為其屬性來存取。"
1481+
":class:`UserDict` 類別是作為 dict 物件的包裝器。因為已經可以直接自 :class:"
1482+
"`dict` 建立子類別,這個類別的需求已部分被滿足,不過這個類別使用起來更方便,"
1483+
"為被包裝的字典可以作為其屬性來存取。"
14841484

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

15841584
#: ../../library/collections.rst:1338
15851585
msgid ":class:`UserString` objects"
@@ -1592,9 +1592,9 @@ 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` 直接建"
1596-
"立子類別,這個類別的需求已經部分被滿足,不過這個類別使用起來更方便,因為被包"
1597-
"裝的字串可以作為其屬性來存取。"
1595+
":class:`UserString` 類別是字串物件的包裝器因為已經可以從 :class:`str` 直接"
1596+
"建立子類別,這個類別的需求已經部分被滿足,不過這個類別使用起來更方便,因為被"
1597+
"包裝的字串可以作為其屬性來存取。"
15981598

15991599
#: ../../library/collections.rst:1348
16001600
msgid ""

0 commit comments

Comments
 (0)