@@ -681,36 +681,42 @@ msgstr ""
681681
682682#: ../../c-api/long.rst:615
683683msgid "Check if the integer object *obj* is positive (``obj > 0``)."
684- msgstr ""
684+ msgstr "檢查整數物件 *obj* 是否為正(``obj > 0``)。 "
685685
686686#: ../../c-api/long.rst:617
687687msgid ""
688688"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
689689"``1`` when it's positive and ``0`` otherwise. Else set an exception and "
690690"return ``-1``."
691691msgstr ""
692+ "如果 *obj* 是 :c:type:`PyLongObject` 或其子類別的實例,當它為正數時回傳 ``1``,否則"
693+ "回傳 ``0``。其餘情況則設定例外並回傳 ``-1``。"
692694
693695#: ../../c-api/long.rst:626
694696msgid "Check if the integer object *obj* is negative (``obj < 0``)."
695- msgstr ""
697+ msgstr "檢查整數物件 *obj* 是否為負(``obj < 0``)。 "
696698
697699#: ../../c-api/long.rst:628
698700msgid ""
699701"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
700702"``1`` when it's negative and ``0`` otherwise. Else set an exception and "
701703"return ``-1``."
702704msgstr ""
705+ "如果 *obj* 是 :c:type:`PyLongObject` 或其子類別的實例,當它為負數時回傳 ``1``,否則"
706+ "回傳 ``0``。其餘情況則設定例外並回傳 ``-1``。"
703707
704708#: ../../c-api/long.rst:637
705709msgid "Check if the integer object *obj* is zero."
706- msgstr ""
710+ msgstr "檢查整數物件 *obj* 是否為零。 "
707711
708712#: ../../c-api/long.rst:639
709713msgid ""
710714"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
711715"``1`` when it's zero and ``0`` otherwise. Else set an exception and return "
712716"``-1``."
713717msgstr ""
718+ "如果 *obj* 是 :c:type:`PyLongObject` 或其子類別的實例,當它為零時回傳 ``1``,否則"
719+ "回傳 ``0``。其餘情況則設定例外並回傳 ``-1``。"
714720
715721#: ../../c-api/long.rst:648
716722msgid ""
@@ -757,7 +763,7 @@ msgstr ""
757763
758764#: ../../c-api/long.rst:686
759765msgid "Export API"
760- msgstr ""
766+ msgstr "匯出 API "
761767
762768#: ../../c-api/long.rst:692
763769msgid ""
@@ -910,7 +916,7 @@ msgstr ""
910916
911917#: ../../c-api/long.rst:796
912918msgid "PyLongWriter API"
913- msgstr ""
919+ msgstr "PyLongWriter API "
914920
915921#: ../../c-api/long.rst:798
916922msgid "The :c:type:`PyLongWriter` API can be used to import an integer."
@@ -928,7 +934,7 @@ msgstr ""
928934
929935#: ../../c-api/long.rst:812
930936msgid "Create a :c:type:`PyLongWriter`."
931- msgstr ""
937+ msgstr "建立一個 :c:type:`PyLongWriter`。 "
932938
933939#: ../../c-api/long.rst:814
934940msgid ""
@@ -948,7 +954,7 @@ msgstr ""
948954
949955#: ../../c-api/long.rst:822
950956msgid "*digits* must not be NULL."
951- msgstr ""
957+ msgstr "*digits* 不得為 NULL。 "
952958
953959#: ../../c-api/long.rst:824
954960msgid ""
@@ -995,21 +1001,23 @@ msgstr ""
9951001#: ../../c-api/long.rst:853
9961002msgid ""
9971003"Discard a :c:type:`PyLongWriter` created by :c:func:`PyLongWriter_Create`."
998- msgstr ""
1004+ msgstr "丟棄由 :c:func:`PyLongWriter_Create` 建立的 :c:type:`PyLongWriter`。 "
9991005
10001006#: ../../c-api/long.rst:855
10011007msgid "If *writer* is ``NULL``, no operation is performed."
1002- msgstr ""
1008+ msgstr "如果 *writer* 為 ``NULL``,則不執行任何操作。 "
10031009
10041010#: ../../c-api/long.rst:861
10051011msgid "Deprecated API"
1006- msgstr ""
1012+ msgstr "已棄用的 API "
10071013
10081014#: ../../c-api/long.rst:863
10091015msgid ""
10101016"These macros are :term:`soft deprecated`. They describe parameters of the "
10111017"internal representation of :c:type:`PyLongObject` instances."
10121018msgstr ""
1019+ "這些巨集已被\\ :term:`軟性棄用 <soft deprecated>`。它們描述了 :c:type:`PyLongObject` "
1020+ "實例的內部表示參數。"
10131021
10141022#: ../../c-api/long.rst:866
10151023msgid ""
@@ -1018,20 +1026,23 @@ msgid ""
10181026"These currently use the same layout, but are designed to continue working "
10191027"correctly even if CPython's internal integer representation changes."
10201028msgstr ""
1029+ "請改用 :c:func:`PyLong_GetNativeLayout`,並與 :c:func:`PyLong_Export` 使用來讀取整數資料,"
1030+ "或者 :c:type:`PyLongWriter` 來寫入它們。它們目前使用相同的佈局,不過即使 CPython 的內部整數表"
1031+ "示發生變化,也能繼續正確運作。"
10211032
10221033#: ../../c-api/long.rst:874
10231034msgid ""
10241035"This is equivalent to :c:member:`~PyLongLayout.bits_per_digit` in the output "
10251036"of :c:func:`PyLong_GetNativeLayout`."
1026- msgstr ""
1037+ msgstr "這等同於 :c:func:`PyLong_GetNativeLayout` 輸出中的 :c:member:`~PyLongLayout.bits_per_digit`。 "
10271038
10281039#: ../../c-api/long.rst:880
10291040msgid "This is currently equivalent to :c:expr:`1 << PyLong_SHIFT`."
1030- msgstr ""
1041+ msgstr "這目前等同於 :c:expr:`1 << PyLong_SHIFT`。 "
10311042
10321043#: ../../c-api/long.rst:885
10331044msgid "This is currently equivalent to :c:expr:`(1 << PyLong_SHIFT) - 1`"
1034- msgstr ""
1045+ msgstr "這目前等同於 :c:expr:`(1 << PyLong_SHIFT) - 1` "
10351046
10361047#: ../../c-api/long.rst:8
10371048msgid "object"
0 commit comments