|
4 | 4 | # Translators: |
5 | 5 | # Nkeys Syu <nkeys1324@gmail.com>, 2016 |
6 | 6 | # Matt Wang <mattwang44@gmail.com>, 2023 |
| 7 | +# Yorkxe <karta25768@gmail.com>, 2025 |
7 | 8 | msgid "" |
8 | 9 | msgstr "" |
9 | 10 | "Project-Id-Version:Python 3.14\n" |
10 | 11 | "Report-Msgid-Bugs-To:\n" |
11 | 12 | "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" |
14 | 15 | "Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-" |
15 | 16 | "tw)\n" |
16 | 17 | "Language:zh_TW\n" |
@@ -97,7 +98,8 @@ msgstr "" |
97 | 98 | msgid"" |
98 | 99 | "Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` " |
99 | 100 | "instead of a :term:`strong reference`." |
100 | | -msgstr"" |
| 101 | +msgstr"與 :c:func:`PyList_GetItemRef` 類似,但回傳一個 :term:`borrowed reference` " |
| 102 | +"而非一個 :term:`strong reference`。" |
101 | 103 |
|
102 | 104 | #:../../c-api/list.rst:80 |
103 | 105 | msgid"Similar to :c:func:`PyList_GetItem`, but without error checking." |
@@ -132,7 +134,9 @@ msgid "" |
132 | 134 | "Bounds checking is performed as an assertion if Python is built " |
133 | 135 | "in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-" |
134 | 136 | "assertions>`." |
135 | | -msgstr"" |
| 137 | +msgstr"如果 Python 是以 :ref:`debug mode <debug-build>` 或 " |
| 138 | +":option:`with assertions <--with-assertions>` 建置,則會進行作為" |
| 139 | +"斷言(asserting)的邊界檢查。" |
136 | 140 |
|
137 | 141 | #:../../c-api/list.rst:106 |
138 | 142 | msgid"" |
@@ -193,26 +197,31 @@ msgid "" |
193 | 197 | "Extend *list* with the contents of *iterable*. This is the same as " |
194 | 198 | "``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and " |
195 | 199 | "analogous to ``list.extend(iterable)`` or ``list += iterable``." |
196 | | -msgstr"" |
| 200 | +msgstr"將 *iterable* 中的內容擴展至 *list*。這與 ``PyList_SetSlice(list, " |
| 201 | +"PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` 相同,類似於 " |
| 202 | +"``list.extend(iterable)`` 或 ``list += iterable``。" |
197 | 203 |
|
198 | 204 | #:../../c-api/list.rst:148 |
199 | 205 | msgid"" |
200 | 206 | "Raise an exception and return ``-1`` if *list* is not a :class:`list` " |
201 | 207 | "object. Return 0 on success." |
202 | | -msgstr"" |
| 208 | +msgstr"引發一個例外並回傳 ``-1`` 如果 *list* 不是一個 :class:`list` 物件。" |
| 209 | +"如果成功回傳 0。" |
203 | 210 |
|
204 | 211 | #:../../c-api/list.rst:156 |
205 | 212 | msgid"" |
206 | 213 | "Remove all items from *list*. This is the same as ``PyList_SetSlice(list, " |
207 | 214 | "0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del " |
208 | 215 | "list[:]``." |
209 | | -msgstr"" |
| 216 | +msgstr"移除 *list* 中的所有項目。這與 ``PyList_SetSlice(list, 0, PY_SSIZE_T_MAX, " |
| 217 | +"NULL)`` 相同,類似於 ``list.clear()`` 或 ``del list[:]``。" |
210 | 218 |
|
211 | 219 | #:../../c-api/list.rst:160 |
212 | 220 | msgid"" |
213 | 221 | "Raise an exception and return ``-1`` if *list* is not a :class:`list` " |
214 | 222 | "object. Return 0 on success." |
215 | | -msgstr"" |
| 223 | +msgstr"引發一個例外並回傳 ``-1`` 如果 *list* 不是一個 :class:`list` 物件。" |
| 224 | +"如果成功回傳 0。" |
216 | 225 |
|
217 | 226 | #:../../c-api/list.rst:168 |
218 | 227 | msgid"" |
|