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

Skip to content

Commit e634bfb

Browse files
author
Becca
committed
0503_modify review IV
1 parent 28ea92f commit e634bfb

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

library/stdtypes.po

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ msgid ""
361361
"implement the :meth:`__contains__` method."
362362
msgstr ""
363363
"此外,擁有相同的語法優先序的 :keyword:`in` 及 :keyword:`not in` 兩種運算皆被"
364-
"是 :term:`iterable` 或者有實作 :meth:`__contains__` method 的型別所支援。"
364+
"是 :term:`可疊代性 <iterable>` 或者有實作 :meth:`__contains__` method 的型別所支援。"
365365

366366
#: ../../library/stdtypes.rst:205
367367
msgid "Numeric Types --- :class:`int`, :class:`float`, :class:`complex`"
@@ -381,8 +381,8 @@ msgid ""
381381
"numeric types :mod:`fractions.Fraction`, for rationals, and :mod:`decimal."
382382
"Decimal`, for floating-point numbers with user-definable precision.)"
383383
msgstr ""
384-
"數值型別共有三種::dfn:`integers`、:dfn:`floating point numbers` 及 :dfn:"
385-
"`complex numbers`。此外,Boolean 為整數中的一個子型別。整數有無限的精度。浮"
384+
"數值型別共有三種::dfn:`整數`、:dfn:`浮點數` 及 :dfn:`複數`。"
385+
"此外,Boolean 為整數中的一個子型別。整數有無限的精度。浮"
386386
"點數通常使用 C 裡面的 :c:expr:`double` 實作。關於在你程式所運作的機器上之浮點"
387387
"數的精度及內部表示法可以在 :data:`sys.float_info` 進行查找。複數包含實數及虛"
388388
"數的部分,這兩部分各自是一個浮點數。若要從一個複數 *z* 提取這兩部分,需使用 "
@@ -648,7 +648,7 @@ msgid ""
648648
"Python defines ``pow(0, 0)`` and ``0 ** 0`` to be ``1``, as is common for "
649649
"programming languages."
650650
msgstr ""
651-
"Python 將 ``pow(0, 0)`` 及 ``0 ** 0`` 定義為 ``1`` 這是在撰寫程式語言時的普遍"
651+
"Python 將 ``pow(0, 0)`` 及 ``0 ** 0`` 定義為 ``1`` 這是程式語言的普遍"
652652
"做法。"
653653

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

671671
#: ../../library/stdtypes.rst:359
672672
msgid ""
@@ -737,7 +737,7 @@ msgid ""
737737
"``~`` has the same priority as the other unary numeric operations (``+`` and "
738738
"``-``)."
739739
msgstr ""
740-
"二位元運算的優先順序皆低於數字運算,但高於比較運算;一元運算 ``~`` 與其他一元"
740+
"二元位元運算的優先順序皆低於數字運算,但高於比較運算;一元運算 ``~`` 與其他一元"
741741
"數值運算有一致的優先順序(``+`` 及 ``-``)。"
742742

743743
#: ../../library/stdtypes.rst:410
@@ -750,7 +750,7 @@ msgstr "``x | y``"
750750

751751
#: ../../library/stdtypes.rst:415
752752
msgid "bitwise :dfn:`or` of *x* and *y*"
753-
msgstr "*x* 及 *y* 的位元 :dfn:`or`"
753+
msgstr "*x* 及 *y* 的位元 :dfn:``"
754754

755755
#: ../../library/stdtypes.rst:415 ../../library/stdtypes.rst:418
756756
#: ../../library/stdtypes.rst:421 ../../library/stdtypes.rst:1211
@@ -765,15 +765,15 @@ msgstr "``x ^ y``"
765765

766766
#: ../../library/stdtypes.rst:418
767767
msgid "bitwise :dfn:`exclusive or` of *x* and *y*"
768-
msgstr "*x* 及 *y* 的位元 :dfn:`exclusive or`"
768+
msgstr "*x* 及 *y* 的位元 :dfn:`邏輯互斥或`"
769769

770770
#: ../../library/stdtypes.rst:421
771771
msgid "``x & y``"
772772
msgstr "``x & y``"
773773

774774
#: ../../library/stdtypes.rst:421
775775
msgid "bitwise :dfn:`and` of *x* and *y*"
776-
msgstr "*x* 及 *y* 的位元 :dfn:`and`"
776+
msgstr "*x* 及 *y* 的位元 :dfn:``"
777777

778778
#: ../../library/stdtypes.rst:424
779779
msgid "``x << n``"
@@ -842,8 +842,8 @@ msgid ""
842842
"The int type implements the :class:`numbers.Integral` :term:`abstract base "
843843
"class`. In addition, it provides a few more methods:"
844844
msgstr ""
845-
"整數型別實作了 :class:`numbers.Integral` :term:`abstract base class`。此外,"
846-
"它提供了一些 methods:"
845+
"整數型別實作了 :class:`numbers.Integral` :term:`抽象類別 <abstract base class>`"
846+
"。此外,它提供了一些 methods:"
847847

848848
#: ../../library/stdtypes.rst:457
849849
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."
@@ -941,8 +941,8 @@ msgid ""
941941
"The argument *bytes* must either be a :term:`bytes-like object` or an "
942942
"iterable producing bytes."
943943
msgstr ""
944-
"引數 *bytes* 必須是一個 :term:`bytes-like object` 或是一個產生位元組的可疊代"
945-
"物件。"
944+
"引數 *bytes* 必須是一個 :term:`類位元組物件 <bytes-like object>`"
945+
"或是一個產生位元組的可疊代物件。"
946946

947947
#: ../../library/stdtypes.rst:574
948948
msgid ""
@@ -992,8 +992,8 @@ 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`。浮點數也"
996-
"有下列附加 methods。"
995+
"浮點數型別實作了 :class:`numbers.Real` :term:`抽象類別 <abstract base class>`"
996+
"。浮點數也有下列附加 methods。"
997997

998998
#: ../../library/stdtypes.rst:627
999999
msgid ""
@@ -1117,16 +1117,16 @@ msgstr ""
11171117
"值型別的雜湊是基於一個數學函式,它對於任何有理數都是定義的,因此適用於所有 :"
11181118
"class:`int` 和 :class:`fractions.Fraction` 的實例,以及所有有限的 :class:"
11191119
"`float` 和 :class:`decimal.Decimal` 的實例。基本上,這個函式是由簡化的 modulo(模數) ``P`` 給出的一個固定的質"
1120-
"數 ``P````P`` 的值作為 :data:`sys.hash_info` 的 :attr:"
1120+
"數 ``P````P`` 的值作為 :data:`sys.hash_info` 的 :attr:"
11211121
"`modulus` 屬性提供給 Python。"
11221122

11231123
#: ../../library/stdtypes.rst:723
11241124
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 "
1129-
"= 2**61 - 1`` 在具有 64 位元 C longs 的機器上。"
1128+
"目前在具有 32 位元 C longs 的機器上所使用的質數是 ``P = 2**31 - 1``,而在具有 64"
1129+
"位元 C longs 的機器上為 ``P = 2**61 - 1`` 。"
11301130

11311131
#: ../../library/stdtypes.rst:726
11321132
msgid "Here are the rules in detail:"
@@ -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`` 取模數使其界於 ``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
@@ -1237,8 +1237,8 @@ msgid ""
12371237
"1, respectively. However, relying on this is discouraged; explicitly convert "
12381238
"using :func:`int` instead."
12391239
msgstr ""
1240-
":class:`bool` 是 :class:`int` 的子類別(見 :ref:`typesnumeric`)。在許多數值上"
1241-
"下文中,``False`` 和 ``True`` 分別像整數 0 和 1 一樣。然而,不鼓勵依賴這一點;請"
1240+
":class:`bool` 是 :class:`int` 的子類別(見 :ref:`typesnumeric`)。在許多數值"
1241+
"情境中,``False`` 和 ``True`` 分別像整數 0 和 1 一樣。然而,不鼓勵依賴這一點;請"
12421242
"使用 :func:`int` 進行顯式轉換。"
12431243

12441244
#: ../../library/stdtypes.rst:841
@@ -1259,7 +1259,7 @@ msgstr ""
12591259
msgid ""
12601260
"One method needs to be defined for container objects to provide :term:"
12611261
"`iterable` support:"
1262-
msgstr "需要為容器物件定義一個 method 來提供 :term:`iterable` 支援:"
1262+
msgstr "需要為容器物件定義一個 method 來提供 :term:`可疊代性 <iterable>` 支援:"
12631263

12641264
#: ../../library/stdtypes.rst:861
12651265
msgid ""
@@ -1272,7 +1272,7 @@ msgid ""
12721272
"member:`~PyTypeObject.tp_iter` slot of the type structure for Python objects "
12731273
"in the Python/C API."
12741274
msgstr ""
1275-
"回傳一個 :term:`iterator` 物件。該物件需要支援下述的疊代器協定。如果一個容器"
1275+
"回傳一個 :term:`疊代器 <iterator>` 物件。該物件需要支援下述的疊代器協定。如果一個容器"
12761276
"支援不同型別的疊代,則可以提供額外的 methods 來專門請求這些疊代型別的疊代器。(支"
12771277
"援多種形式疊代的物件的一個例子是支援廣度優先和深度優先遍歷的樹結構。)此 method "
12781278
"對應 Python/C API 中 Python 物件的型別結構的 :c:member:`~PyTypeObject."
@@ -1292,7 +1292,7 @@ msgid ""
12921292
"`in` statements. This method corresponds to the :c:member:`~PyTypeObject."
12931293
"tp_iter` slot of the type structure for Python objects in the Python/C API."
12941294
msgstr ""
1295-
"回傳 :term:`iterator` 物件本身。這是為了允許容器和疊代器都可以與 :keyword:"
1295+
"回傳 :term:`疊代器 <iterator>` 物件本身。這是為了允許容器和疊代器都可以與 :keyword:"
12961296
"`for` 和 :keyword:`in` 在陳述式中使用。此 method 對應於 Python/C API 中 Python 物件的型"
12971297
"別結構的 :c:member:`~PyTypeObject.tp_iter` 插槽。"
12981298

@@ -1303,7 +1303,7 @@ msgid ""
13031303
"the :c:member:`~PyTypeObject.tp_iternext` slot of the type structure for "
13041304
"Python objects in the Python/C API."
13051305
msgstr ""
1306-
"從 :term:`iterator` 回傳下一個項目。如果沒有更多項目,則引發 :exc:"
1306+
"從 :term:`疊代器 <iterator>` 回傳下一個項目。如果沒有更多項目,則引發 :exc:"
13071307
"`StopIteration` 例外。此 method 對應於 Python/C API 中Python 物件的型別結構的 :c:"
13081308
"member:`~PyTypeObject.tp_iternext` 插槽。"
13091309

0 commit comments

Comments
 (0)