8000 0429_modify review I (1) · beccalzh/python-docs-zh-tw@9e380f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e380f3

Browse files
author
Becca
committed
0429_modify review I (1)
1 parent 9183ca9 commit 9e380f3

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
@@ -616,8 +616,8 @@ msgid ""
616616
"always rounded towards minus infinity: ``1//2`` is ``0``, ``(-1)//2`` is "
617617
"``-1``, ``1//(-2)`` is ``-1``, and ``(-1)//(-2)`` is ``0``."
618618
msgstr ""
619-
"也被稱為整數除法。對於整數型別的操作數,結果為一個整數,但型別並不需要為整"
620-
"數。結果會總是往負無限大的方向取整數值: ``1//2`` 為 ``0``、``(-1)//2`` 為"
619+
"也被稱為整數除法。結果為一個整數,但型別並不需要為整數。"
620+
"結果總是會往負無限大的方向取整數值: ``1//2`` 為 ``0``、``(-1)//2`` 為"
621621
"``-1``、``1//(-2)`` 為 ``-1`` 及 ``(-1)//(-2)`` 為 ``0``"
622622

623623
#: ../../library/stdtypes.rst:328
@@ -666,7 +666,7 @@ msgid ""
666666
"property."
667667
msgstr ""
668668
"請參閱 `Unicode 標準 <https://unicode.org/Public/UNIDATA/extracted/"
669-
"DerivedNumericType.txt>`_ 以了解具有 ``Nd`` 屬性 code points(碼位)的完整列表。"
669+
"DerivedNumericType.txt>`_ 以了解具有 ``Nd`` 屬性的碼位完整列表。"
670670

671671
#: ../../library/stdtypes.rst:359
672672
msgid ""
@@ -849,7 +849,7 @@ msgstr ""
849849
msgid ""
850850
"Return the number of bits necessary to represent an integer in binary, "
851851
"excluding the sign and leading zeros::"
852-
msgstr "回傳以二進位表示一個整數所需要的位元數,不包括符號及首位的零:::"
852+
msgstr "回傳以二進位表示一個整數所需要的位元數,不包括符號及首位的零: ::"
853853

854854
#: ../../library/stdtypes.rst:466
855855
msgid ""
@@ -877,7 +877,7 @@ msgid ""
877877
"Return the number of ones in the binary representation of the absolute value "
878878
"of the integer. This is also known as the population count. Example::"
879879
msgstr ""
880-
"回傳在絕對值表示的二進位中 1 的個數。這也被稱作母體計數 。舉例來說:::"
880+
"回傳在絕對值表示的二進位中 1 的個數。這也被稱作母體計數 。舉例來說: ::"
881881

882882
#: ../../library/stdtypes.rst:504
883883
msgid "Return an array of bytes representing an integer."
@@ -918,7 +918,7 @@ msgstr ""
918918
msgid ""
919919
"The default values can be used to conveniently turn an integer into a single "
920920
"byte object::"
921-
msgstr "預設值可以方便地將一個整數轉換為單一位元組物件:::"
921+
msgstr "預設值可以方便地將一個整數轉換為單一位元組物件: ::"
922922

923923
#: ../../library/stdtypes.rst:537
924924
msgid ""
@@ -992,7 +992,7 @@ msgid ""
992992
"The float type implements the :class:`numbers.Real` :term:`abstract base "
993993
"class`. float also has the following additional methods."
994994
msgstr ""
995-
"浮點數型別實現了 :class:`numbers.Real` :term:`abstract base class`。浮點數也"
995+
"浮點數型別實作了 :class:`numbers.Real` :term:`abstract base class`。浮點數也"
996996
"有下列附加方法。"
997997

998998
#: ../../library/stdtypes.rst:627
@@ -1009,7 +1009,7 @@ msgid ""
10091009
"Return ``True`` if the float instance is finite with integral value, and "
10101010
"``False`` otherwise::"
10111011
msgstr ""
1012-
"如果浮點數實例是有限的並且具有整數值,則回傳 ``True``,否則回傳 ``False``:::"
1012+
"如果浮點數實例是有限的並且具有整數值,則回傳 ``True``,否則回傳 ``False``: ::"
10131013

10141014
#: ../../library/stdtypes.rst:642
10151015
msgid ""
@@ -1050,7 +1050,7 @@ msgstr ""
10501050

10511051
#: ../../library/stdtypes.rst:669
10521052
msgid "A hexadecimal string takes the form::"
1053-
msgstr "一個十六進位字串的形式如下:::"
1053+
msgstr "一個十六進位字串的形式如下: ::"
10541054

10551055
#: ../../library/stdtypes.rst:673
10561056
msgid ""
@@ -1082,14 +1082,14 @@ msgid ""
10821082
msgstr ""
10831083
"請注意指數是以十進位而非十六進位寫入,並且它給出了乘以係數的2的次方。例如,十"
10841084
"六進位字串 ``0x3.a7p10`` 表示浮點數 ``(3 + 10./16 + 7./16**2) * 2.0**10``,"
1085-
"或 ``3740.0``:::"
1085+
"或 ``3740.0``: ::"
10861086

10871087
#: ../../library/stdtypes.rst:696
10881088
msgid ""
10891089
"Applying the reverse conversion to ``3740.0`` gives a different hexadecimal "
10901090
"string representing the same number::"
10911091
msgstr ""
1092-
"對 ``3740.0`` 應用反向轉換會給出一個不同的十六進位字串,它表示相同的數字:::"
1092+
"對 ``3740.0`` 應用反向轉換會給出一個不同的十六進位字串,它表示相同的數字: ::"
10931093

10941094
#: ../../library/stdtypes.rst:706
10951095
msgid "Hashing of numeric types"
@@ -1125,7 +1125,7 @@ msgid ""
11251125
"Currently, the prime used is ``P = 2**31 - 1`` on machines with 32-bit C "
11261126
"longs and ``P = 2**61 - 1`` on machines with 64-bit C longs."
11271127
msgstr ""
1128-
"目前,使用的質數是 ``P = 2**31 - 1`` 在具有 32 C longs 的機器上,並且 ``P "
1128+
"目前,使用的質數是 ``P = 2**31 - 1`` 在具有 32 位元 C longs 的機器上,並且 ``P "
11291129
"= 2**61 - 1`` 在具有 64 位元 C longs 的機器上。"
11301130

11311131
#: ../../library/stdtypes.rst:726
@@ -1140,7 +1140,7 @@ msgid ""
11401140
msgstr ""
11411141
"如果 ``x = m / n`` 是一個非負的有理數並且 ``n`` 不可被 ``P`` 整除,則將 "
11421142
"``hash(x)`` 定義為 ``m * invmod(n, P) % P``,其中 ``invmod(n, P)`` 為 "
1143-
"``n`` 對 modulo(模數)``P`` 的倒數。"
1143+
"``n`` 對模數 ``P`` 的倒數。"
11441144

11451145
#: ../../library/stdtypes.rst:732
11461146
msgid ""
@@ -1180,7 +1180,7 @@ msgid ""
11801180
msgstr ""
11811181
"對於一個 :class:`complex` 數字 ``z``,實部和虛部的雜湊值通過計算 ``hash(z."
11821182
"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."
11841184
"hash_info.width - 1))``。同樣地,如果結果是 ``-1``,則將其替換為 ``-2``。"
11851185

11861186
#: ../../library/stdtypes.rst:753
@@ -1190,7 +1190,7 @@ msgid ""
11901190
"`float`, or :class:`complex`::"
11911191
msgstr ""
11921192
"為了澄清上述規則,這裡有一些示例 Python 程式碼,等同於內建的雜湊,用於計算有理"
1193-
"數、:class:`float` 或 :class:`complex` 的雜湊:::"
1193+
"數、:class:`float` 或 :class:`complex` 的雜湊: ::"
11941194

11951195
#: ../../library/stdtypes.rst:808
11961196
msgid "Boolean Type - :class:`bool`"
@@ -1252,8 +1252,8 @@ msgid ""
12521252
"support iteration. Sequences, described below in more detail, always "
12531253
"support the iteration methods."
12541254
msgstr ""
1255-
"Python 支援對容器的疊代概念。這是使用兩種不同的方法實作的;這些方法用於允許用"
1256-
"戶定義的類別支援疊代。序列,在下面更詳細地描述,總是支援疊代方法。"
1255+
"Python 支援對容器的疊代概念。這是使用兩種不同的實作方法;這些方法被用於允許用"
1256+
"戶自定義類別以支援疊代。序列則總是支援這些疊代方法,在下方有更詳細的描述。"
12571257

12581258
#: ../../library/stdtypes.rst:854
12591259
msgid ""

0 commit comments

Comments
 (0)
0