@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.7\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2018-10-19 17:24+0800\n "
11
- "PO-Revision-Date : 2018-05-23 16:02+0000 \n "
11
+ "PO-Revision-Date : 2018-11-10 18:27+0800 \n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -17,6 +17,7 @@ msgstr ""
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
+ "X-Generator : Poedit 2.1.1\n "
20
21
21
22
#: ../../library/functions.rst:5 ../../library/functions.rst:11
22
23
msgid "Built-in Functions"
@@ -556,8 +557,8 @@ msgid ""
556
557
"The ``@classmethod`` form is a function :term:`decorator` -- see the "
557
558
"description of function definitions in :ref:`function` for details."
558
559
msgstr ""
559
- "``@classmethod`` 形式是一個函式 :term:`裝飾器 ` - 參見 :ref:`function` 中關於 "
560
- "函式定義的詳細介紹 。"
560
+ "``@classmethod`` 形式是一個函式 :term:`decorator ` - 參見 :ref:`function` 中關 "
561
+ "於函式定義的詳細介紹 。"
561
562
562
563
#: ../../library/functions.rst:216
563
564
#, fuzzy
@@ -900,9 +901,9 @@ msgid ""
900
901
"returns a tuple containing a count (from *start* which defaults to 0) and "
901
902
"the values obtained from iterating over *iterable*."
902
903
msgstr ""
903
- "返回一個列舉物件。*iterable* 必須是一個序列,或 :term:`迭代器`,或其他支援迭 "
904
- "代的物件 。 :func:`enumerate` 返回的迭代器的 :meth:`~iterator.__next__` 方法返 "
905
- "回一個元組 ,裡面包含一個計數值(從 *start* 開始,預設為 0)和通過迭代 "
904
+ "返回一個列舉物件。*iterable* 必須是一個序列,或 :term:`iterator`,或其他支援 "
905
+ "迭代的物件 。 :func:`enumerate` 返回的迭代器的 :meth:`~iterator.__next__` 方法 "
906
+ "返回一個元組 ,裡面包含一個計數值(從 *start* 開始,預設為 0)和通過迭代 "
906
907
"*iterable* 獲得的值。"
907
908
908
909
#: ../../library/functions.rst:421
@@ -1474,13 +1475,14 @@ msgid ""
1474
1475
"__next__` method; if the value returned is equal to *sentinel*, :exc:"
1475
1476
"`StopIteration` will be raised, otherwise the value will be returned."
1476
1477
msgstr ""
1477
- "返回一個 :term:`迭代器` 物件。根據是否存在第二個實參,第一個實參的解釋是非常"
1478
- "不同的。如果沒有第二個實參,*object* 必須是支援迭代協議(有 :meth:`__iter__` "
1479
- "方法)的集合物件,或必須支援序列協議(有 :meth:`__getitem__` 方法,且數字引數"
1480
- "從 ``0`` 開始)。如果它不支援這些協議,會觸發 :exc:`TypeError`。如果有第二個"
1481
- "實參 *sentinel*,那麼 *object* 必須是可呼叫的物件。這種情況下生成的迭代器,每"
1482
- "次迭代呼叫它的 :meth:`~iterator.__next__` 方法時都會不帶實參地呼叫 *object*;"
1483
- "如果返回的結果是 *sentinel* 則觸發 :exc:`StopIteration`,否則返回呼叫結果。"
1478
+ "返回一個 :term:`iterator` 物件。根據是否存在第二個實參,第一個實參的解釋是非"
1479
+ "常不同的。如果沒有第二個實參,*object* 必須是支援迭代協議(有 :meth:"
1480
+ "`__iter__` 方法)的集合物件,或必須支援序列協議(有 :meth:`__getitem__` 方"
1481
+ "法,且數字引數從 ``0`` 開始)。如果它不支援這些協議,會觸發 :exc:"
1482
+ "`TypeError`。如果有第二個實參 *sentinel*,那麼 *object* 必須是可呼叫的物件。"
1483
+ "這種情況下生成的迭代器,每次迭代呼叫它的 :meth:`~iterator.__next__` 方法時都"
1484
+ "會不帶實參地呼叫 *object*;如果返回的結果是 *sentinel* 則觸發 :exc:"
1485
+ "`StopIteration`,否則返回呼叫結果。"
1484
1486
1485
1487
#: ../../library/functions.rst:810
1486
1488
#, fuzzy
@@ -1564,8 +1566,8 @@ msgid ""
1564
1566
"The largest item in the iterable is returned. If two or more positional "
1565
1567
"arguments are provided, the largest of the positional arguments is returned."
1566
1568
msgstr ""
1567
- "如果只提供了一個 positional 實參,它必須是非空 :term:`可迭代物件`,返回可迭代 "
1568
- "物件中最大的元素 ;如果提供了兩個及以上的 positional 實參,則返回最大的 "
1569
+ "如果只提供了一個 positional 實參,它必須是非空 :term:`iterable`,返回可迭代物 "
1570
+ "件中最大的元素 ;如果提供了兩個及以上的 positional 實參,則返回最大的 "
1569
1571
"positional 實參。"
1570
1572
1571
1573
#: ../../library/functions.rst:867 ../../library/functions.rst:901
@@ -1621,9 +1623,9 @@ msgid ""
1621
1623
"The smallest item in the iterable is returned. If two or more positional "
1622
1624
"arguments are provided, the smallest of the positional arguments is returned."
1623
1625
msgstr ""
1624
- "如果只提供了一個 positional 實參,它必須是 :term:`可迭代物件`,返回可迭代物件 "
1625
- "中最小的元素 ;如果提供了兩個及以上的 positional 實參,則返回最小的 "
1626
- "positional 實參。"
1626
+ "如果只提供了一個 positional 實參,它必須是 :term:`iterable`,返回可迭代物件中 "
1627
+ "最小的元素 ;如果提供了兩個及以上的 positional 實參,則返回最小的 positional "
1628
+ "實參。"
1627
1629
1628
1630
#: ../../library/functions.rst:907
1629
1631
#, fuzzy
@@ -1692,8 +1694,8 @@ msgid ""
1692
1694
"Open *file* and return a corresponding :term:`file object`. If the file "
1693
1695
"cannot be opened, an :exc:`OSError` is raised."
1694
1696
msgstr ""
1695
- "開啟 *file* 並返回對應的 :term:`檔案物件 `。如果該檔案不能開啟,則觸發 :exc :"
1696
- "`OSError`。"
1697
+ "開啟 *file* 並返回對應的 :term:`file object `。如果該檔案不能開啟,則觸發 :"
1698
+ "exc: `OSError`。"
1697
1699
1698
1700
#: ../../library/functions.rst:967
1699
1701
#, fuzzy
@@ -1705,7 +1707,7 @@ msgid ""
1705
1707
"is set to ``False``.)"
1706
1708
msgstr ""
1707
1709
"*file* 是將要開啟的檔案的路徑(絕對路徑或者當前工作目錄的相當路徑),是一個 :"
1708
- "term:`path-like 物件 `;也可能是要被封裝的檔案描述符的數字。(如果是檔案描述"
1710
+ "term:`path-like object `;也可能是要被封裝的檔案描述符的數字。(如果是檔案描述"
1709
1711
"符,它會隨著返回的 I/O 物件關閉而關閉,除非 *closefd* 是 ``False`` 。)"
1710
1712
1711
1713
#: ../../library/functions.rst:973
@@ -1754,6 +1756,7 @@ msgid "``'w'``"
1754
1756
msgstr "``'w'``"
1755
1757
1756
1758
#: ../../library/functions.rst:993
1759
+ #, fuzzy
1757
1760
msgid "open for writing, truncating the file first"
1758
1761
msgstr "写入,并先截断文件"
1759
1762
@@ -1762,6 +1765,7 @@ msgid "``'x'``"
1762
1765
msgstr "``'x'``"
1763
1766
1764
1767
#: ../../library/functions.rst:994
1768
+ #, fuzzy
1765
1769
msgid "open for exclusive creation, failing if the file already exists"
1766
1770
msgstr "排它性创建,如果文件已存在则失败"
1767
1771
@@ -1770,6 +1774,7 @@ msgid "``'a'``"
1770
1774
msgstr "``'a'``"
1771
1775
1772
1776
#: ../../library/functions.rst:995
1777
+ #, fuzzy
1773
1778
msgid "open for writing, appending to the end of the file if it exists"
1774
1779
msgstr "写入,如果文件存在则在末尾追加"
1775
1780
@@ -1778,6 +1783,7 @@ msgid "``'b'``"
1778
1783
msgstr "``'b'``"
1779
1784
1780
1785
#: ../../library/functions.rst:996
1786
+ #, fuzzy
1781
1787
msgid "binary mode"
1782
1788
msgstr "二进制模式"
1783
1789
@@ -1806,7 +1812,7 @@ msgstr "``'U'``"
1806
1812
#: ../../library/functions.rst:999
1807
1813
#, fuzzy
1808
1814
msgid ":term:`universal newlines` mode (deprecated)"
1809
- msgstr ":term:`通用換行 ` 模式(已棄用)"
1815
+ msgstr ":term:`universal newlines ` 模式(已棄用)"
1810
1816
1811
1817
#: ../../library/functions.rst:1002
1812
1818
#, fuzzy
0 commit comments