88msgstr ""
99"Project-Id-Version :Python 3.12\n "
1010"Report-Msgid-Bugs-To :\n "
11- "POT-Creation-Date :2023 -07-22 00:04+0000\n "
11+ "POT-Creation-Date :2024 -07-11 00:04+0000\n "
1212"PO-Revision-Date :2018-05-23 14:07+0000\n "
1313"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1414"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -40,34 +40,39 @@ msgid ""
4040"Return a new slice object with the given values. The *start*, *stop*, and "
4141"*step* parameters are used as the values of the slice object attributes of "
4242"the same names. Any of the values may be ``NULL``, in which case the "
43- "``None`` will be used for the corresponding attribute. Return ``NULL`` if "
44- "the new object could not be allocated."
43+ "``None`` will be used for the corresponding attribute."
4544msgstr ""
4645
47- #: ../../c-api/slice.rst:32
46+ #: ../../c-api/slice.rst:28
47+ msgid ""
48+ "Return ``NULL`` with an exception set if the new object could not be "
49+ "allocated."
50+ msgstr ""
51+
52+ #: ../../c-api/slice.rst:34
4853msgid ""
4954"Retrieve the start, stop and step indices from the slice object *slice*, "
5055"assuming a sequence of length *length*. Treats indices greater than *length* "
5156"as errors."
5257msgstr ""
5358
54- #: ../../c-api/slice.rst:36
59+ #: ../../c-api/slice.rst:38
5560msgid ""
5661"Returns ``0`` on success and ``-1`` on error with no exception set (unless "
5762"one of the indices was not ``None`` and failed to be converted to an "
5863"integer, in which case ``-1`` is returned with an exception set)."
5964msgstr ""
6065
61- #: ../../c-api/slice.rst:40
66+ #: ../../c-api/slice.rst:42
6267msgid "You probably do not want to use this function."
6368msgstr ""
6469
65- #: ../../c-api/slice.rst:42 ../../c-api/slice.rst:73
70+ #: ../../c-api/slice.rst:44 ../../c-api/slice.rst:75
6671msgid ""
6772"The parameter type for the *slice* parameter was ``PySliceObject*`` before."
6873msgstr ""
6974
70- #: ../../c-api/slice.rst:49
75+ #: ../../c-api/slice.rst:51
7176msgid ""
7277"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, "
7378"stop, and step indices from the slice object *slice* assuming a sequence of "
@@ -76,22 +81,22 @@ msgid ""
7681"normal slices."
7782msgstr ""
7883
79- #: ../../c-api/slice.rst:55
80- msgid "Returns ``0`` on success and ``-1`` on error with exception set."
84+ #: ../../c-api/slice.rst:57
85+ msgid "Return ``0`` on success and ``-1`` on error with an exception set."
8186msgstr ""
8287
83- #: ../../c-api/slice.rst:58
88+ #: ../../c-api/slice.rst:60
8489msgid ""
8590"This function is considered not safe for resizable sequences. Its invocation "
8691"should be replaced by a combination of :c:func:`PySlice_Unpack` and :c:func:"
8792"`PySlice_AdjustIndices` where ::"
8893msgstr ""
8994
90- #: ../../c-api/slice.rst:66
95+ #: ../../c-api/slice.rst:68
9196msgid "is replaced by ::"
9297msgstr ""
9398
94- #: ../../c-api/slice.rst:77
99+ #: ../../c-api/slice.rst:79
95100msgid ""
96101"If ``Py_LIMITED_API`` is not set or set to the value between ``0x03050400`` "
97102"and ``0x03060000`` (not including) or ``0x03060100`` or higher :c:func:`!"
@@ -100,14 +105,14 @@ msgid ""
100105"*stop* and *step* are evaluated more than once."
101106msgstr ""
102107
103- #: ../../c-api/slice.rst:84
108+ #: ../../c-api/slice.rst:86
104109msgid ""
105110"If ``Py_LIMITED_API`` is set to the value less than ``0x03050400`` or "
106111"between ``0x03060000`` and ``0x03060100`` (not including) :c:func:`!"
107112"PySlice_GetIndicesEx` is a deprecated function."
108113msgstr ""
109114
110- #: ../../c-api/slice.rst:92
115+ #: ../../c-api/slice.rst:94
111116msgid ""
112117"Extract the start, stop and step data members from a slice object as C "
113118"integers. Silently reduce values larger than ``PY_SSIZE_T_MAX`` to "
@@ -116,34 +121,34 @@ msgid ""
116121"less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``."
117122msgstr ""
118123
119- #: ../../c-api/slice.rst:98
120- msgid "Return ``-1`` on error, ``0`` on success."
124+ #: ../../c-api/slice.rst:100
125+ msgid "Return ``-1``with an exception set on error, ``0`` on success."
121126msgstr ""
122127
123- #: ../../c-api/slice.rst:105
128+ #: ../../c-api/slice.rst:107
124129msgid ""
125130"Adjust start/end slice indices assuming a sequence of the specified length. "
126131"Out of bounds indices are clipped in a manner consistent with the handling "
127132"of normal slices."
128133msgstr ""
129134
130- #: ../../c-api/slice.rst:109
135+ #: ../../c-api/slice.rst:111
131136msgid ""
132137"Return the length of the slice. Always successful. Doesn't call Python "
133138"code."
134139msgstr ""
135140
136- #: ../../c-api/slice.rst:116
141+ #: ../../c-api/slice.rst:118
137142msgid "Ellipsis Object"
138143msgstr ""
139144
140- #: ../../c-api/slice.rst:121
145+ #: ../../c-api/slice.rst:123
141146msgid ""
142147"The Python ``Ellipsis`` object. This object has no methods. Like :c:data:"
143148"`Py_None`, it is an `immortal <https://peps.python.org/pep-0683/>`_. "
144149"singleton object."
145150msgstr ""
146151
147- #: ../../c-api/slice.rst:125
152+ #: ../../c-api/slice.rst:127
148153msgid ":c:data:`Py_Ellipsis` is immortal."
149154msgstr ":c:data:`Py_Ellipsis` 為不滅的 (immortal)。"