@@ -616,8 +616,8 @@ msgid ""
616
616
"always rounded towards minus infinity: ``1//2`` is ``0``, ``(-1)//2`` is "
617
617
"``-1``, ``1//(-2)`` is ``-1``, and ``(-1)//(-2)`` is ``0``."
618
618
msgstr ""
619
- "也被稱為整數除法。對於整數型別的操作數, 結果為一個整數,但型別並不需要為整 "
620
- "數。結果會總是往負無限大的方向取整數值 : ``1//2`` 為 ``0``、``(-1)//2`` 為"
619
+ "也被稱為整數除法。結果為一個整數,但型別並不需要為整數。 "
620
+ "結果總是會往負無限大的方向取整數值 : ``1//2`` 為 ``0``、``(-1)//2`` 為"
621
621
"``-1``、``1//(-2)`` 為 ``-1`` 及 ``(-1)//(-2)`` 為 ``0``"
622
622
623
623
#: ../../library/stdtypes.rst:328
@@ -666,7 +666,7 @@ msgid ""
666
666
"property."
667
667
msgstr ""
668
668
"請參閱 `Unicode 標準 <https://unicode.org/Public/UNIDATA/extracted/"
669
- "DerivedNumericType.txt>`_ 以了解具有 ``Nd`` 屬性 code points(碼位)的完整列表 。"
669
+ "DerivedNumericType.txt>`_ 以了解具有 ``Nd`` 屬性的碼位完整列表 。"
670
670
671
671
#: ../../library/stdtypes.rst:359
672
672
msgid ""
@@ -849,7 +849,7 @@ msgstr ""
849
849
msgid ""
850
850
"Return the number of bits necessary to represent an integer in binary, "
851
851
"excluding the sign and leading zeros::"
852
- msgstr "回傳以二進位表示一個整數所需要的位元數,不包括符號及首位的零:::"
852
+ msgstr "回傳以二進位表示一個整數所需要的位元數,不包括符號及首位的零: ::"
853
853
854
854
#: ../../library/stdtypes.rst:466
855
855
msgid ""
@@ -877,7 +877,7 @@ msgid ""
877
877
"Return the number of ones in the binary representation of the absolute value "
878
878
"of the integer. This is also known as the population count. Example::"
879
879
msgstr ""
880
- "回傳在絕對值表示的二進位中 1 的個數。這也被稱作母體計數 。舉例來說:::"
880
+ "回傳在絕對值表示的二進位中 1 的個數。這也被稱作母體計數 。舉例來說: ::"
881
881
882
882
#: ../../library/stdtypes.rst:504
883
883
msgid "Return an array of bytes representing an integer."
@@ -918,7 +918,7 @@ msgstr ""
918
918
msgid ""
919
919
"The default values can be used to conveniently turn an integer into a single "
920
920
"byte object::"
921
- msgstr "預設值可以方便地將一個整數轉換為單一位元組物件:::"
921
+ msgstr "預設值可以方便地將一個整數轉換為單一位元組物件: ::"
922
922
923
923
#: ../../library/stdtypes.rst:537
924
924
msgid ""
@@ -992,7 +992,7 @@ msgid ""
992
992
"The float type implements the :class:`numbers.Real` :term:`abstract base "
993
993
"class`. float also has the following additional methods."
994
994
msgstr ""
995
- "浮點數型別實現了 :class:`numbers.Real` :term:`abstract base class`。浮點數也"
995
+ "浮點數型別實作了 :class:`numbers.Real` :term:`abstract base class`。浮點數也"
996
996
"有下列附加方法。"
997
997
998
998
#: ../../library/stdtypes.rst:627
@@ -1009,7 +1009,7 @@ msgid ""
1009
1009
"Return ``True`` if the float instance is finite with integral value, and "
1010
1010
"``False`` otherwise::"
1011
1011
msgstr ""
1012
- "如果浮點數實例是有限的並且具有整數值,則回傳 ``True``,否則回傳 ``False``:::"
1012
+ "如果浮點數實例是有限的並且具有整數值,則回傳 ``True``,否則回傳 ``False``: ::"
1013
1013
1014
1014
#: ../../library/stdtypes.rst:642
1015
1015
msgid ""
@@ -1050,7 +1050,7 @@ msgstr ""
1050
1050
1051
1051
#: ../../library/stdtypes.rst:669
1052
1052
msgid "A hexadecimal string takes the form::"
1053
- msgstr "一個十六進位字串的形式如下:::"
1053
+ msgstr "一個十六進位字串的形式如下: ::"
1054
1054
1055
1055
#: ../../library/stdtypes.rst:673
1056
1056
msgid ""
@@ -1082,14 +1082,14 @@ msgid ""
1082
1082
msgstr ""
1083
1083
"請注意指數是以十進位而非十六進位寫入,並且它給出了乘以係數的2的次方。例如,十"
1084
1084
"六進位字串 ``0x3.a7p10`` 表示浮點數 ``(3 + 10./16 + 7./16**2) * 2.0**10``,"
1085
- "或 ``3740.0``:::"
1085
+ "或 ``3740.0``: ::"
1086
1086
1087
1087
#: ../../library/stdtypes.rst:696
1088
1088
msgid ""
1089
1089
"Applying the reverse conversion to ``3740.0`` gives a different hexadecimal "
1090
1090
"string representing the same number::"
1091
1091
msgstr ""
1092
- "對 ``3740.0`` 應用反向轉換會給出一個不同的十六進位字串,它表示相同的數字:::"
1092
+ "對 ``3740.0`` 應用反向轉換會給出一個不同的十六進位字串,它表示相同的數字: ::"
1093
1093
1094
1094
#: ../../library/stdtypes.rst:706
1095
1095
msgid "Hashing of numeric types"
@@ -1125,7 +1125,7 @@ msgid ""
1125
1125
"Currently, the prime used is ``P = 2**31 - 1`` on machines with 32-bit C "
1126
1126
"longs and ``P = 2**61 - 1`` on machines with 64-bit C longs."
1127
1127
msgstr ""
1128
- "目前,使用的質數是 ``P = 2**31 - 1`` 在具有 32 位 C longs 的機器上,並且 ``P "
1128
+ "目前,使用的質數是 ``P = 2**31 - 1`` 在具有 32 位元 C longs 的機器上,並且 ``P "
1129
1129
"= 2**61 - 1`` 在具有 64 位元 C longs 的機器上。"
1130
1130
1131
1131
#: ../../library/stdtypes.rst:726
@@ -1140,7 +1140,7 @@ msgid ""
1140
1140
msgstr ""
1141
1141
"如果 ``x = m / n`` 是一個非負的有理數並且 ``n`` 不可被 ``P`` 整除,則將 "
1142
1142
"``hash(x)`` 定義為 ``m * invmod(n, P) % P``,其中 ``invmod(n, P)`` 為 "
1143
- "``n`` 對 modulo(模數) ``P`` 的倒數。"
1143
+ "``n`` 對模數 ``P`` 的倒數。"
1144
1144
1145
1145
#: ../../library/stdtypes.rst:732
1146
1146
msgid ""
@@ -1180,7 +1180,7 @@ msgid ""
1180
1180
msgstr ""
1181
1181
"對於一個 :class:`complex` 數字 ``z``,實部和虛部的雜湊值通過計算 ``hash(z."
1182
1182
"real) + sys.hash_info.imag * hash(z.imag)`` 來組合,對 ``2**sys.hash_info."
1183
- "width`` 取 modulo(模數)以使其位於 ``range(-2**(sys.hash_info.width - 1), 2**(sys."
1183
+ "width`` 取模數以使其位於 ``range(-2**(sys.hash_info.width - 1), 2**(sys."
1184
1184
"hash_info.width - 1))``。同樣地,如果結果是 ``-1``,則將其替換為 ``-2``。"
1185
1185
1186
1186
#: ../../library/stdtypes.rst:753
@@ -1190,7 +1190,7 @@ msgid ""
1190
1190
"`float`, or :class:`complex`::"
1191
1191
msgstr ""
1192
1192
"為了澄清上述規則,這裡有一些示例 Python 程式碼,等同於內建的雜湊,用於計算有理"
1193
- "數、:class:`float` 或 :class:`complex` 的雜湊:::"
1193
+ "數、:class:`float` 或 :class:`complex` 的雜湊: ::"
1194
1194
1195
1195
#: ../../library/stdtypes.rst:808
1196
1196
msgid "Boolean Type - :class:`bool`"
@@ -1252,8 +1252,8 @@ msgid ""
1252
1252
"support iteration. Sequences, described below in more detail, always "
1253
1253
"support the iteration methods."
1254
1254
msgstr ""
1255
- "Python 支援對容器的疊代概念。這是使用兩種不同的方法實作的;這些方法用於允許用 "
1256
- "戶定義的類別支援疊代。序列,在下面更詳細地描述,總是支援疊代方法 。"
1255
+ "Python 支援對容器的疊代概念。這是使用兩種不同的實作方法;這些方法被用於允許用 "
1256
+ "戶自定義類別以支援疊代。序列則總是支援這些疊代方法,在下方有更詳細的描述 。"
1257
1257
1258
1258
#: ../../library/stdtypes.rst:854
1259
1259
msgid ""
0 commit comments