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

Skip to content

Commit 4ccb2f6

Browse files
author
Becca
committed
0503_modify review III
1 parent 845c19b commit 4ccb2f6

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

library/stdtypes.po

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ msgid ""
339339
"meth:`~object.__eq__` are sufficient, if you want the conventional meanings "
340340
"of the comparison operators)."
341341
msgstr ""
342-
"一個 class 的實例不可以與其他相同 class 的實例或其他物件的類別進行排序,除非 "
342+
"一個 class 的實例不可以與其他相同 class 的實例或其他物件型別進行排序,除非 "
343343
"class 定義足夠的 method ,包含 :meth:`~object.__lt__`、:meth:`~object."
344344
"__le__`、:meth:`~object.__gt__` 及 :meth:`~object.__ge__`\\ (一般來說,使"
345345
"用 :meth:`~object.__lt__` 及 :meth:`~object.__eq__` 就可以滿足常規意義上的比"
@@ -386,9 +386,9 @@ msgstr ""
386386
"點數通常使用 C 裡面的 :c:expr:`double` 實作。關於在你程式所運作的機器上之浮點"
387387
"數的精度及內部表示法可以在 :data:`sys.float_info` 進行查找。複數包含實數及虛"
388388
"數的部分,這兩部分各自是一個浮點數。若要從一個複數 *z* 提取這兩部分,需使用 "
389-
"``z.real`` 及 ``z.imag``。(標準程式庫包含額外的數值型別,像是 :mod:"
390-
"`fractions.Fraction` 表示有理數,而 :mod:`decimal.Decimal` 表示經用戶制定精度"
391-
"的浮點數。)"
389+
"``z.real`` 及 ``z.imag``。(標準函式庫包含額外的數值型別,像是 :mod:"
390+
"`fractions.Fraction` 表示有理數,而 :mod:`decimal.Decimal` 表示可由使用者"
391+
"制定精度的浮點數。)"
392392

393393
#: ../../library/stdtypes.rst:237
394394
msgid ""
@@ -401,9 +401,9 @@ msgid ""
401401
"complex number with real and imaginary parts."
402402
msgstr ""
403403
"數字是由字面數值或內建公式及運算子的結果所產生的。未經修飾的字面數值(含十六"
404-
"進位、八進位及二進位數值)會生成整數。字面數值包含小數點或冪函式符號會生成浮"
405-
"點數。在數值後面加上 ``'j'`` 或是 ``'J'`` 會產生一個虛數(意即一個實數為 0 的"
406-
"複數)。你也可以將整數與浮點數相加以得到一個有時部與虛部的複數。"
404+
"進位、八進位及二進位數值)會 yield 整數。包含小數點或指數符號的字面數值會 yield 浮"
405+
"點數。在數值後面加上 ``'j'`` 或是 ``'J'`` 會 yield 一個虛數(意即一個實數為 0 的"
406+
"複數)。你也可以將整數與浮點數相加以得到一個有實部與虛部的複數。"
407407

408408
#: ../../library/stdtypes.rst:262
409409
msgid ""
@@ -414,7 +414,7 @@ msgid ""
414414
"of different types behaves as though the exact values of those numbers were "
415415
"being compared. [2]_"
416416
msgstr ""
417-
"Python 完全支援混和運算:當一個二元運算子有不同數值型別時,「較窄」型別的"
417+
"Python 完全支援混和運算:當一個二元運算子的運算元有不同數值型別時,「較窄」型別的"
418418
"運算元會被拓寬到另一個型別的運算元;在此處,整數窄於浮點數,浮點數又窄於複"
419419
"數。不同型別的數字間的比較等同於這些數字的精確值進行比較。[2]_"
420420

@@ -431,7 +431,7 @@ msgid ""
431431
"All numeric types (except complex) support the following operations (for "
432432
"priorities of the operations, see :ref:`operator-summary`):"
433433
msgstr ""
434-
"所有數值型別(除複數外)皆支援以下的運算式(有關運算式的先後順序,詳見 :ref:"
434+
"所有數值型別(除複數外)皆支援以下的運算(有關運算的先後順序,詳見 :ref:"
435435
"`operator-summary`):"
436436

437437
#: ../../library/stdtypes.rst:275
@@ -508,7 +508,7 @@ msgstr "``abs(x)``"
508508

509509
#: ../../library/stdtypes.rst:294
510510
msgid "absolute value or magnitude of *x*"
511-
msgstr "*x* 的絕對值"
511+
msgstr "*x* 的絕對值或量 (magnitude)"
512512

513513
#: ../../library/stdtypes.rst:294
514514
msgid ":func:`abs`"
@@ -579,7 +579,7 @@ msgstr "``divmod(x, y)``"
579579

580580
#: ../../library/stdtypes.rst:308
581581
msgid "the pair ``(x // y, x % y)``"
582-
msgstr "結合 ``(x // y, x % y)`` 的運算結果"
582+
msgstr " ``(x // y, x % y)`` 的對"
583583

584584
#: ../../library/stdtypes.rst:308
585585
msgid ":func:`divmod`"
@@ -617,7 +617,7 @@ msgid ""
617617
"``-1``, ``1//(-2)`` is ``-1``, and ``(-1)//(-2)`` is ``0``."
618618
msgstr ""
619619
"也被稱為整數除法。結果為一個整數,但型別並不需要為整數。"
620-
"結果總是會往負無限大的方向取整數值: ``1//2`` 為 ``0``、``(-1)//2`` 為"
620+
"結果總是會往負無窮大的方向取整數值: ``1//2`` 為 ``0``、``(-1)//2`` 為"
621621
"``-1``、``1//(-2)`` 為 ``-1`` 及 ``(-1)//(-2)`` 為 ``0``。"
622622

623623
#: ../../library/stdtypes.rst:328
@@ -640,8 +640,8 @@ msgid ""
640640
"float also accepts the strings \"nan\" and \"inf\" with an optional prefix "
641641
"\"+\" or \"-\" for Not a Number (NaN) and positive or negative infinity."
642642
msgstr ""
643-
"浮點數也接受帶有前綴 \"+\"\"-\"\"nan\"\"inf\" 字串,其分別代表非"
644-
"數字(NaN)及正負極值。"
643+
"浮點數也接受帶有可選的前綴 \"+\"\"-\"\"nan\"\"inf\" 字串,其分別代表非"
644+
"數字(NaN)及正負無窮。"
645645

646646
#: ../../library/stdtypes.rst:348
647647
msgid ""
@@ -881,7 +881,7 @@ msgstr ""
881881

882882
#: ../../library/stdtypes.rst:504
883883
msgid "Return an array of bytes representing an integer."
884-
msgstr "回傳整數表示的一列位元組。"
884+
msgstr "回傳一個整數表示的一列位元組。"
885885

886886
#: ../../library/stdtypes.rst:516
887887
msgid ""
@@ -1068,7 +1068,7 @@ msgstr ""
10681068
"其中可選的 ``sign`` 可以是 ``+`` 或 ``-``,``integer`` 和 ``fraction`` 是十六"
10691069
"進位數字的字串,而 ``exponent`` 是一個十進位整數並且有一個可選的前導符號。大"
10701070
"小寫不重要,並且整數或小數部分至少有一個十六進位數字。這個語法與 C99 標準的"
1071-
"第 6.4.4.2 節指定的語法相似,也與 Java 1.5 以後的語法相似。特別地,:meth:"
1071+
"第 6.4.4.2 節指定的語法相似,也與 Java 1.5 以後的語法相似。特別是 :meth:"
10721072
"`float.hex` 的輸出可用作 C 或 Java 程式碼中的十六進位浮點數文字,並且 C 的 "
10731073
"``%a`` 格式字元或 Java 的 ``Double.toHexString`` 產生的十六進位字串可被 :"
10741074
"meth:`float.fromhex` 接受。"
@@ -1080,7 +1080,7 @@ msgid ""
10801080
"example, the hexadecimal string ``0x3.a7p10`` represents the floating-point "
10811081
"number ``(3 + 10./16 + 7./16**2) * 2.0**10``, or ``3740.0``::"
10821082
msgstr ""
1083-
"請注意指數是以十進位而非十六進位寫入,並且它給出了乘以係數的2的次方。例如,十"
1083+
"請注意指數是以十進位而非十六進位寫入,並且它給出了乘以係數的 2 的次方。例如,十"
10841084
"六進位字串 ``0x3.a7p10`` 表示浮點數 ``(3 + 10./16 + 7./16**2) * 2.0**10``,"
10851085
"或 ``3740.0``: ::"
10861086

0 commit comments

Comments
 (0)