22# This file is distributed under the same license as the Python package.
33#
44# Translators:
5- # Leon H., 2017
6- # Weilin Du, 2025
5+ # Leon H., 2017
6+ # Weilin Du, 2025
77msgid ""
88msgstr ""
99"Project-Id-Version : Python 3.14\n "
@@ -56,7 +56,7 @@ msgstr "如果無法分配新物件,則回傳 ``NULL`` 並設定例外。"
5656
5757#: ../../c-api/slice.rst:34
5858msgid ""
59- "Retrieve the start, stop and step indices from the slice object *slice*, "
59+ "Retrieve the start, stop and step indices from the slice object *slice*, "
6060"assuming a sequence of length *length*. Treats indices greater than *length* "
6161"as errors."
6262msgstr ""
@@ -67,10 +67,10 @@ msgstr ""
6767msgid ""
6868"Returns ``0`` on success and ``-1`` on error with no exception set (unless "
6969"one of the indices was not ``None`` and failed to be converted to an "
70- "integer, in which case ``-1`` is returned with an exception set)."
70+ "integer, in which case ``-1`` is returned with an exception set)."
7171msgstr ""
7272"成功時回傳 ``0``,錯誤時回傳 ``-1``,並無例外設定(除非其中一個索引不是 "
73- "``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`,並有設定例外)。"
73+ "``None`` 並且未能轉換成整數,在這種情況下會回傳 ``-1`` ,並有設定例外)。"
7474
7575#: ../../c-api/slice.rst:42
7676msgid "You probably do not want to use this function."
@@ -83,9 +83,9 @@ msgstr "之前 *slice* 的參數型別是 ``PySliceObject*`` 。"
8383
8484#: ../../c-api/slice.rst:51
8585msgid ""
86- "Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, "
87- "stop, and step indices from the slice object *slice* assuming a sequence of "
88- "length *length*, and store the length of the slice in *slicelength*. Out of "
86+ "Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, "
87+ "stop, and step indices from the slice object *slice* assuming a sequence of "
88+ "length *length*, and store the length of the slice in *slicelength*. Out of "
8989"bounds indices are clipped in a manner consistent with the handling of "
9090"normal slices."
9191msgstr ""
@@ -109,12 +109,12 @@ msgstr ""
109109
110110#: ../../c-api/slice.rst:64
111111msgid ""
112- "if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) "
112+ "if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) "
113113"< 0) {\n"
114114" // return error\n"
115115"}"
116116msgstr ""
117- "if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) "
117+ "if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) "
118118"< 0) {\n"
119119" // return error\n"
120120"}"
@@ -125,15 +125,15 @@ msgstr "被更換為 ::"
125125
126126#: ../../c-api/slice.rst:70
127127msgid ""
128- "if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n"
128+ "if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n"
129129" // return error\n"
130130"}\n"
131- "slicelength = PySlice_AdjustIndices(length, &start, &stop, step);"
131+ "slicelength = PySlice_AdjustIndices(length, &start, &stop, step);"
132132msgstr ""
133- "if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n"
133+ "if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n"
134134" // return error\n"
135135"}\n"
136- "slicelength = PySlice_AdjustIndices(length, &start, &stop, step);"
136+ "slicelength = PySlice_AdjustIndices(length, &start, &stop, step);"
137137
138138#: ../../c-api/slice.rst:79
139139msgid ""
@@ -161,10 +161,10 @@ msgstr ""
161161
162162#: ../../c-api/slice.rst:94
163163msgid ""
164- "Extract the start, stop and step data members from a slice object as C "
164+ "Extract the start, stop and step data members from a slice object as C "
165165"integers. Silently reduce values larger than ``PY_SSIZE_T_MAX`` to "
166- "``PY_SSIZE_T_MAX``, silently boost the start and stop values less than "
167- "``PY_SSIZE_T_MIN`` to ``PY_SSIZE_T_MIN``, and silently boost the step values "
166+ "``PY_SSIZE_T_MAX``, silently boost the start and stop values less than "
167+ "``PY_SSIZE_T_MIN`` to ``PY_SSIZE_T_MIN``, and silently boost the step values "
168168"less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``."
169169msgstr ""
170170"以 C 整數的形式從 slice 物件中抽取 start、stop 及 step 資料成員。將大於 "
@@ -173,7 +173,7 @@ msgstr ""
173173"的 step 值靜默提升為 ``-PY_SSIZE_T_MAX``。"
174174
175175#: ../../c-api/slice.rst:100
176- msgid "Return ``-1`` with an exception set on error, ``0`` on success."
176+ msgid "Return ``-1`` with an exception set on error, ``0`` on success."
177177msgstr "成功時回傳 ``0``,在失敗時回傳 ``-1`` 並設定例外。"
178178
179179#: ../../c-api/slice.rst:107
@@ -206,7 +206,7 @@ msgstr ""
206206#: ../../c-api/slice.rst:129
207207msgid ""
208208"The Python ``Ellipsis`` object. This object has no methods. "
209- "Like :c:data:`Py_None`, it is an :term:`immortal` singleton object."
209+ "Like :c:data:`Py_None`, it is an :term:`immortal` singleton object."
210210msgstr ""
211211"Python ``Ellipsis`` 物件。這個物件沒有方法。就像 :c:data:`Py_None` 一樣,它是"
212212"一個 :term:`immortal` 單一物件。"
0 commit comments