9
9
msgstr ""
10
10
"Project-Id-Version : Python 3.11\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
- "POT-Creation-Date : 2023-05-14 00:16 +0000\n "
12
+ "POT-Creation-Date : 2023-06-30 15:31 +0000\n "
13
13
"PO-Revision-Date : 2023-01-04 14:53+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- "
@@ -466,10 +466,11 @@ msgstr ""
466
466
"函式生成的字串和 Python 2 的 :func:`repr` 回傳的結果相似。"
467
467
468
468
#: ../../library/functions.rst:123
469
+ #, fuzzy
469
470
msgid ""
470
471
"Convert an integer number to a binary string prefixed with \" 0b\" . The "
471
472
"result is a valid Python expression. If *x* is not a Python :class:`int` "
472
- "object, it has to define an :meth:`__index__` method that returns an "
473
+ "object, it has to define an :meth:`~object. __index__` method that returns an "
473
474
"integer. Some examples:"
474
475
msgstr ""
475
476
"將一個整數轉變為一個前綴為 \" 0b\" 的二進位制字串。結果是一個有效的 Python 運"
@@ -754,8 +755,8 @@ msgid ""
754
755
msgstr ""
755
756
"*mode* 引數指定了編譯程式碼時必須用的模式。如果 *source* 是一系列的陳述式,可"
756
757
"以是 ``'exec'``;如果是單一運算式,可以是 ``'eval'``;如果是單個互動式陳述"
757
- "式,可以是 ``'single'`` (在最後一種情況下,如果運算式執行結果不是 ``None`` 則 "
758
- "會被印出來 )。"
758
+ "式,可以是 ``'single'`` (在最後一種情況下,如果運算式執行結果不是 ``None`` "
759
+ "則會被印出來 )。"
759
760
760
761
#: ../../library/functions.rst:310
761
762
msgid ""
@@ -889,12 +890,15 @@ msgstr ""
889
890
"果兩個引數都省略,則回傳 ``0j``。"
890
891
891
892
#: ../../library/functions.rst:385
893
+ #, fuzzy
892
894
msgid ""
893
895
"For a general Python object ``x``, ``complex(x)`` delegates to ``x."
894
- "__complex__()``. If `` __complex__()`` is not defined then it falls back to : "
895
- "meth:`__float__`. If `` __float__()`` is not defined then it falls back to : "
896
- "meth:`__index__`."
896
+ "__complex__()``. If :meth:`~object. __complex__` is not defined then it "
897
+ "falls back to : meth:`~object. __float__`. If :meth:`! __float__` is not "
898
+ "defined then it falls back to : meth:`~object. __index__`."
897
899
msgstr ""
900
+ "對於一般的 Python 物件 ``x``,``float(x)`` 指派給 ``x.__float__()``。如果未定"
901
+ "義 ``__float__()`` 則使用 :meth:`__index__`。"
898
902
899
903
#: ../../library/functions.rst:392
900
904
msgid ""
@@ -917,8 +921,8 @@ msgstr "可以使用底線將程式碼文字中的數字進行分組。"
917
921
918
922
#: ../../library/functions.rst:402
919
923
msgid ""
920
- "Falls back to :meth:`__index__` if :meth:`__complex__` and :meth:`__float__` "
921
- "are not defined."
924
+ "Falls back to :meth:`~object. __index__` if :meth:`~object. __complex__` and :"
925
+ "meth:`~object.__float__` are not defined."
922
926
msgstr ""
923
927
924
928
#: ../../library/functions.rst:409
@@ -1318,10 +1322,11 @@ msgstr ""
1318
1322
"浮點數。如果引數在 Python 浮點精度範圍外,則會觸發 :exc:`OverflowError`。"
1319
1323
1320
1324
#: ../../library/functions.rst:682
1325
+ #, fuzzy
1321
1326
msgid ""
1322
1327
"For a general Python object ``x``, ``float(x)`` delegates to ``x."
1323
- "__float__()``. If `` __float__()`` is not defined then it falls back to : "
1324
- "meth:`__index__`."
1328
+ "__float__()``. If :meth:`~object. __float__` is not defined then it falls "
1329
+ "back to : meth:`~object. __index__`."
1325
1330
msgstr ""
1326
1331
"對於一般的 Python 物件 ``x``,``float(x)`` 指派給 ``x.__float__()``。如果未定"
1327
1332
"義 ``__float__()`` 則使用 :meth:`__index__`。"
@@ -1342,7 +1347,9 @@ msgid "The float type is described in :ref:`typesnumeric`."
1342
1347
msgstr ":ref:`typesnumeric` 描述了浮點數型別。"
1343
1348
1344
1349
#: ../../library/functions.rst:709
1345
- msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined."
1350
+ msgid ""
1351
+ "Falls back to :meth:`~object.__index__` if :meth:`~object.__float__` is not "
1352
+ "defined."
1346
1353
msgstr ""
1347
1354
1348
1355
#: ../../library/functions.rst:719
@@ -1503,10 +1510,11 @@ msgstr ""
1503
1510
"加全面和一致。"
1504
1511
1505
1512
#: ../../library/functions.rst:822
1513
+ #, fuzzy
1506
1514
msgid ""
1507
1515
"Convert an integer number to a lowercase hexadecimal string prefixed with "
1508
1516
"\" 0x\" . If *x* is not a Python :class:`int` object, it has to define an :"
1509
- "meth:`__index__` method that returns an integer. Some examples:"
1517
+ "meth:`~object. __index__` method that returns an integer. Some examples:"
1510
1518
msgstr ""
1511
1519
"將整數轉換為以 \" 0x\" 為前綴的小寫十六進位制字串。如果 *x* 不是 Python :"
1512
1520
"class:`int` 物件,則必須定義一個 :meth:`__index__` method 並且回傳一個整數。"
@@ -1609,12 +1617,14 @@ msgstr ""
1609
1617
"result``。"
1610
1618
1611
1619
#: ../../library/functions.rst:894
1620
+ #, fuzzy
1612
1621
msgid ""
1613
1622
"Return an integer object constructed from a number or string *x*, or return "
1614
- "``0`` if no arguments are given. If *x* defines :meth:`__int__`, ``int(x)`` "
1615
- "returns ``x.__int__()``. If *x* defines :meth:`__index__`, it returns ``x."
1616
- "__index__()``. If *x* defines :meth:`__trunc__`, it returns ``x."
1617
- "__trunc__()``. For floating point numbers, this truncates towards zero."
1623
+ "``0`` if no arguments are given. If *x* defines :meth:`~object.__int__`, "
1624
+ "``int(x)`` returns ``x.__int__()``. If *x* defines :meth:`~object."
1625
+ "__index__`, it returns ``x.__index__()``. If *x* defines :meth:`~object."
1626
+ "__trunc__`, it returns ``x.__trunc__()``. For floating point numbers, this "
1627
+ "truncates towards zero."
1618
1628
msgstr ""
1619
1629
"回傳一個使用數字或字串 *x* 建構的整數物件,或者在沒有引數時回傳 ``0``。如果 "
1620
1630
"*x* 定義了 :meth:`__int__`,``int(x)`` 回傳 ``x.__int__()``。如果 *x* 定義"
@@ -1673,11 +1683,13 @@ msgstr ""
1673
1683
"<object.__index__>`。"
1674
1684
1675
1685
#: ../../library/functions.rst:933
1676
- msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined."
1686
+ msgid ""
1687
+ "Falls back to :meth:`~object.__index__` if :meth:`~object.__int__` is not "
1688
+ "defined."
1677
1689
msgstr ""
1678
1690
1679
1691
#: ../../library/functions.rst:936
1680
- msgid "The delegation to :meth:`__trunc__` is deprecated."
1692
+ msgid "The delegation to :meth:`~object. __trunc__` is deprecated."
1681
1693
msgstr ""
1682
1694
1683
1695
#: ../../library/functions.rst:939
@@ -1929,10 +1941,11 @@ msgstr ""
1929
1941
"給 :class:`object` class 的實例。"
1930
1942
1931
1943
#: ../../library/functions.rst:1138
1944
+ #, fuzzy
1932
1945
msgid ""
1933
1946
"Convert an integer number to an octal string prefixed with \" 0o\" . The "
1934
1947
"result is a valid Python expression. If *x* is not a Python :class:`int` "
1935
- "object, it has to define an :meth:`__index__` method that returns an "
1948
+ "object, it has to define an :meth:`~object. __index__` method that returns an "
1936
1949
"integer. For example:"
1937
1950
msgstr ""
1938
1951
"將一個整數轉變為一個前綴為 \" 0o\" 的八進位制字串。回傳結果是一個有效的 "
0 commit comments