44# Translators:
55# Nkeys Syu <[email protected] >, 201666# Matt Wang <[email protected] >, 20237+ # Yorkxe <[email protected] >, 202578msgid ""
89msgstr ""
910"Project-Id-Version : Python 3.14\n "
1011"Report-Msgid-Bugs-To : \n "
1112"POT-Creation-Date : 2024-09-23 07:52+0800\n "
12- "PO-Revision-Date : 2023-08-24 00:55 +0800\n "
13- "Last-Translator : Matt Wang <mattwang44 @gmail.com>\n "
13+ "PO-Revision-Date : 2025-11-25 22:16 +0800\n "
14+ "Last-Translator : Yorkxe <karta25768 @gmail.com>\n "
1415"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1516"tw)\n "
1617"Language : zh_TW\n "
@@ -98,6 +99,8 @@ msgid ""
9899"Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` "
99100"instead of a :term:`strong reference`."
100101msgstr ""
102+ "與 :c:func:`PyList_GetItemRef` 類似,但回傳一個 :term:`borrowed reference` "
103+ "而非一個 :term:`strong reference`。"
101104
102105#: ../../c-api/list.rst:80
103106msgid "Similar to :c:func:`PyList_GetItem`, but without error checking."
@@ -116,8 +119,7 @@ msgstr ""
116119msgid ""
117120"This function \" steals\" a reference to *item* and discards a reference to "
118121"an item already in the list at the affected position."
119- msgstr ""
120- "此函式「竊取」對 *item* 的參照,並丟棄對串列中受影響位置上已存在項目的參照。"
122+ msgstr "此函式「竊取」對 *item* 的參照,並丟棄對串列中受影響位置上已存在項目的參照。"
121123
122124#: ../../c-api/list.rst:97
123125msgid ""
@@ -133,6 +135,9 @@ msgid ""
133135"in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-"
134136"assertions>`."
135137msgstr ""
138+ "如果 Python 是以\\ :ref:`偵錯模式 <debug-build>`\\ 或 "
139+ ":option:`with assertions <--with-assertions>` 建置,則會進行作為"
140+ "斷言(asserting)的邊界檢查。"
136141
137142#: ../../c-api/list.rst:106
138143msgid ""
@@ -194,25 +199,32 @@ msgid ""
194199"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and "
195200"analogous to ``list.extend(iterable)`` or ``list += iterable``."
196201msgstr ""
202+ "以 *iterable* 中的內容擴展 *list*。這與 ``PyList_SetSlice(list, "
203+ "PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` 相同,類似於 "
204+ "``list.extend(iterable)`` 或 ``list += iterable``。"
197205
198206#: ../../c-api/list.rst:148
199207msgid ""
200208"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
201209"object. Return 0 on success."
202210msgstr ""
211+ "引發一個例外並回傳 ``-1`` 如果 *list* 不是一個 :class:`list` 物件。如果成功回"
212+ "傳 0。"
203213
204214#: ../../c-api/list.rst:156
205215msgid ""
206216"Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
207217"0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del "
208218"list[:]``."
209- msgstr ""
219+ msgstr "移除 *list* 中的所有項目。這與 ``PyList_SetSlice(list, 0, PY_SSIZE_T_MAX, "
220+ "NULL)`` 相同,類似於 ``list.clear()`` 或 ``del list[:]``。"
210221
211222#: ../../c-api/list.rst:160
212223msgid ""
213224"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
214225"object. Return 0 on success."
215- msgstr ""
226+ msgstr "引發一個例外並回傳 ``-1`` 如果 *list* 不是一個 :class:`list` 物件。"
227+ "如果成功回傳 0。"
216228
217229#: ../../c-api/list.rst:168
218230msgid ""
0 commit comments