@@ -10,7 +10,7 @@ msgstr ""
10
10
"Project-Id-Version : Python 3.11\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
12
"POT-Creation-Date : 2023-01-03 00:16+0000\n "
13
- "PO-Revision-Date : 2022-12-26 23:06 +0800\n "
13
+ "PO-Revision-Date : 2023-01-04 14:46 +0800\n "
14
14
"Last-Translator : Phil Lin <linooohon@gmail.com>\n "
15
15
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
16
16
"tw)\n "
@@ -1597,9 +1597,12 @@ msgid ""
1597
1597
"(with no space in between), have leading zeros, be surrounded by whitespace, "
1598
1598
"and have single underscores interspersed between digits."
1599
1599
msgstr ""
1600
+ "如果 *x* 不是數字或如果有給定 *base*,則 *x* 必須是個字串、:class:`bytes` "
1601
+ "或 :class:`bytearray` 實例,表示基數 (radix) *base* 中的整數。可選地,字串可"
1602
+ "以在 ``+`` 或 ``-`` 之前(中間沒有空格)、可有個前導的零、也可被空格包圍、或"
1603
+ "在數字間有單一底線。"
1600
1604
1601
1605
#: ../../library/functions.rst:900
1602
- #, fuzzy
1603
1606
msgid ""
1604
1607
"A base-n integer string contains digits, each representing a value from 0 to "
1605
1608
"n-1. The values 0--9 can be represented by any Unicode decimal digit. The "
@@ -1612,15 +1615,14 @@ msgid ""
1612
1615
"prefix. Base 0 also disallows leading zeros: ``int('010', 0)`` is not legal, "
1613
1616
"while ``int('010')`` and ``int('010', 8)`` are."
1614
1617
msgstr ""
1615
- "如果 *x* 不是數字,或者有 *base* 引數,*x* 必須是字串、:class:`bytes`、或進位"
1616
- "制為 *base* 的\\ :ref:`整數文字 <integers>`\\ 的 :class:`bytearray` 實例。該"
1617
- "文字前可以有 ``+`` 或 ``-``\\ (中間不能有空格),前後可以有空格。一個進製為 "
1618
- "n 的文字包含 0 到 n-1,其中 ``a`` 到 ``z``\\ (或 ``A`` 到 ``Z`` )表示 10 "
1619
- "到 35。預設的 *base* 為 10 。允許的進位制有 0、2–36。2、8、16 進位制的文字可"
1620
- "以在程式碼中用 ``0b``/``0B``、``0o``/``0O``、``0x``/``0X`` 前綴來表示,如同程"
1621
- "式碼中的整數文字。進位制為 0 將按照程式碼的字面進位制來直譯,最後的結果會是 "
1622
- "2、8、10、16 進制中的一個,所以 ``int('010', 0)`` 是非法的,但 "
1623
- "``int('010')`` 和 ``int('010', 8)`` 是有效的。"
1618
+ "一個 n 進制的整數字串,包含各個代表 0 到 n-1 的數字,0–9 可以用任何 Unicode "
1619
+ "十進制數字表示,10–35 可以用 ``a`` 到 ``z``\\ (或 ``A`` 到 ``Z``\\ )表示。"
1620
+ "預設的 *base* 是 10。允許的進位制有 0、2–36。2、8、16 進位制的字串可以在程式"
1621
+ "碼中用 ``0b``/``0B``、``0o``/``0O``、``0x``/``0X`` 前綴來表示,如同程式碼中的"
1622
+ "整數文字。進位制為 0 的字串將以和\\ :ref:`程式碼整數字面值 (integer literal "
1623
+ "in code) <integers>` 類似的方式來直譯,最後由前綴決定的結果會是 2、8、10、16 "
1624
+ "進制中的一個,所以 ``int('010', 0)`` 是非法的,但 ``int('010')`` 和 "
1625
+ "``int('010', 8)`` 是有效的。"
1624
1626
1625
1627
#: ../../library/functions.rst:911
1626
1628
msgid "The integer type is described in :ref:`typesnumeric`."
@@ -1679,7 +1681,7 @@ msgstr ""
1679
1681
1680
1682
#: ../../library/functions.rst:953 ../../library/functions.rst:967
1681
1683
msgid "*classinfo* can be a :ref:`types-union`."
1682
- msgstr ""
1684
+ msgstr "*classinfo* 可以是一個 :ref:`types-union`。 "
1683
1685
1684
1686
#: ../../library/functions.rst:959
1685
1687
msgid ""
0 commit comments