77msgstr ""
88"Project-Id-Version :Python 3.13\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2025-06-27 07:36 +0000\n "
10+ "POT-Creation-Date :2025-08-03 00:19 +0000\n "
1111"PO-Revision-Date :2015-12-09 17:51+0000\n "
1212"Last-Translator :Liang-Bo Wang <me@liang2.tw>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -145,7 +145,7 @@ msgstr ""
145145
146146#: ../../c-api/code.rst:110
147147msgid "Returns ``1`` if the function succeeds and 0 otherwise."
148- msgstr ""
148+ msgstr "如果函式成功則回傳 ``1``,否則回傳 ``0``。 "
149149
150150#: ../../c-api/code.rst:116
151151msgid ""
@@ -252,85 +252,183 @@ msgid ""
252252"it before returning."
253253msgstr ""
254254
255- #: ../../c-api/code.rst:215
256- msgid "Extra information"
255+ #: ../../c-api/code.rst:217
256+ msgid "Code Object Flags"
257+ msgstr "程式碼物件旗標"
258+
259+ #: ../../c-api/code.rst:219
260+ msgid ""
261+ "Code objects contain a bit-field of flags, which can be retrieved as the :"
262+ "attr:`~codeobject.co_flags` Python attribute (for example using :c:func:"
263+ "`PyObject_GetAttrString`), and set using a *flags* argument to :c:func:"
264+ "`PyUnstable_Code_New` and similar functions."
257265msgstr ""
258266
259- #: ../../c-api/code.rst:217
267+ #: ../../c-api/code.rst:224
268+ msgid ""
269+ "Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
270+ "selectable by :ref:`future statements <future>`. These flags can be used in :"
271+ "c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are "
272+ "mandatory in current versions of Python, and setting them has no effect."
273+ msgstr ""
274+
275+ #: ../../c-api/code.rst:230
276+ msgid ""
277+ "The following flags are available. For their meaning, see the linked "
278+ "documentation of their Python equivalents."
279+ msgstr ""
280+
281+ #: ../../c-api/code.rst:238
282+ msgid "Flag"
283+ msgstr "旗標"
284+
285+ #: ../../c-api/code.rst:239
286+ msgid "Meaning"
287+ msgstr "意義"
288+
289+ #: ../../c-api/code.rst:241
290+ msgid ":py:data:`inspect.CO_OPTIMIZED`"
291+ msgstr ":py:data:`inspect.CO_OPTIMIZED`"
292+
293+ #: ../../c-api/code.rst:243
294+ msgid ":py:data:`inspect.CO_NEWLOCALS`"
295+ msgstr ":py:data:`inspect.CO_NEWLOCALS`"
296+
297+ #: ../../c-api/code.rst:245
298+ msgid ":py:data:`inspect.CO_VARARGS`"
299+ msgstr ":py:data:`inspect.CO_VARARGS`"
300+
301+ #: ../../c-api/code.rst:247
302+ msgid ":py:data:`inspect.CO_VARKEYWORDS`"
303+ msgstr ":py:data:`inspect.CO_VARKEYWORDS`"
304+
305+ #: ../../c-api/code.rst:249
306+ msgid ":py:data:`inspect.CO_NESTED`"
307+ msgstr ":py:data:`inspect.CO_NESTED`"
308+
309+ #: ../../c-api/code.rst:251
310+ msgid ":py:data:`inspect.CO_GENERATOR`"
311+ msgstr ":py:data:`inspect.CO_GENERATOR`"
312+
313+ #: ../../c-api/code.rst:253
314+ msgid ":py:data:`inspect.CO_COROUTINE`"
315+ msgstr ":py:data:`inspect.CO_COROUTINE`"
316+
317+ #: ../../c-api/code.rst:255
318+ msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
319+ msgstr ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
320+
321+ #: ../../c-api/code.rst:257
322+ msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
323+ msgstr ":py:data:`inspect.CO_ASYNC_GENERATOR`"
324+
325+ #: ../../c-api/code.rst:260
326+ msgid "no effect (:py:data:`__future__.division`)"
327+ msgstr "無效果(:py:data:`__future__.division`)"
328+
329+ #: ../../c-api/code.rst:262
330+ msgid "no effect (:py:data:`__future__.absolute_import`)"
331+ msgstr "無效果(:py:data:`__future__.absolute_import`)"
332+
333+ #: ../../c-api/code.rst:264
334+ msgid "no effect (:py:data:`__future__.with_statement`)"
335+ msgstr "無效果(:py:data:`__future__.with_statement`)"
336+
337+ #: ../../c-api/code.rst:266
338+ msgid "no effect (:py:data:`__future__.print_function`)"
339+ msgstr "無效果(:py:data:`__future__.print_function`)"
340+
341+ #: ../../c-api/code.rst:268
342+ msgid "no effect (:py:data:`__future__.unicode_literals`)"
343+ msgstr "無效果(:py:data:`__future__.unicode_literals`)"
344+
345+ #: ../../c-api/code.rst:270
346+ msgid "no effect (:py:data:`__future__.generator_stop`)"
347+ msgstr "無效果(:py:data:`__future__.generator_stop`)"
348+
349+ #: ../../c-api/code.rst:272
350+ msgid ":py:data:`__future__.annotations`"
351+ msgstr ":py:data:`__future__.annotations`"
352+
353+ #: ../../c-api/code.rst:276
354+ msgid "Extra information"
355+ msgstr "額外資訊"
356+
357+ #: ../../c-api/code.rst:278
260358msgid ""
261359"To support low-level extensions to frame evaluation, such as external just-"
262360"in-time compilers, it is possible to attach arbitrary extra data to code "
263361"objects."
264362msgstr ""
265363
266- #: ../../c-api/code.rst:221
364+ #: ../../c-api/code.rst:282
267365msgid ""
268366"These functions are part of the unstable C API tier: this functionality is a "
269367"CPython implementation detail, and the API may change without deprecation "
270368"warnings."
271369msgstr ""
272370
273- #: ../../c-api/code.rst:227
371+ #: ../../c-api/code.rst:288
274372msgid "Return a new an opaque index value used to adding data to code objects."
275373msgstr ""
276374
277- #: ../../c-api/code.rst:229
375+ #: ../../c-api/code.rst:290
278376msgid ""
279377"You generally call this function once (per interpreter) and use the result "
280378"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
281379"individual code objects."
282380msgstr ""
283381
284- #: ../../c-api/code.rst:233
382+ #: ../../c-api/code.rst:294
285383msgid ""
286384"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
287385"called on non-``NULL`` data stored under the new index. Use :c:func:"
288386"`Py_DecRef` when storing :c:type:`PyObject`."
289387msgstr ""
290388
291- #: ../../c-api/code.rst:239
389+ #: ../../c-api/code.rst:300
292390msgid "as ``_PyEval_RequestCodeExtraIndex``"
293391msgstr ""
294392
295- #: ../../c-api/code.rst:243
393+ #: ../../c-api/code.rst:304
296394msgid ""
297395"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
298396"is deprecated, but will be available until the API changes."
299397msgstr ""
300398
301- #: ../../c-api/code.rst:249
399+ #: ../../c-api/code.rst:310
302400msgid ""
303401"Set *extra* to the extra data stored under the given index. Return 0 on "
304402"success. Set an exception and return -1 on failure."
305403msgstr ""
306404
307- #: ../../c-api/code.rst:252
405+ #: ../../c-api/code.rst:313
308406msgid ""
309407"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
310408"without setting an exception."
311409msgstr ""
312410
313- #: ../../c-api/code.rst:257
411+ #: ../../c-api/code.rst:318
314412msgid "as ``_PyCode_GetExtra``"
315413msgstr ""
316414
317- #: ../../c-api/code.rst:261
415+ #: ../../c-api/code.rst:322
318416msgid ""
319417"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
320418"but will be available until the API changes."
321419msgstr ""
322420
323- #: ../../c-api/code.rst:267
421+ #: ../../c-api/code.rst:328
324422msgid ""
325423"Set the extra data stored under the given index to *extra*. Return 0 on "
326424"success. Set an exception and return -1 on failure."
327425msgstr ""
328426
329- #: ../../c-api/code.rst:272
427+ #: ../../c-api/code.rst:333
330428msgid "as ``_PyCode_SetExtra``"
331429msgstr ""
332430
333- #: ../../c-api/code.rst:276
431+ #: ../../c-api/code.rst:337
334432msgid ""
335433"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
336434"but will be available until the API changes."
@@ -356,14 +454,14 @@ msgstr "PyCode_New(C 函式)"
356454msgid "PyCode_NewWithPosOnlyArgs (C function)"
357455msgstr "PyCode_NewWithPosOnlyArgs(C 函式)"
358456
359- #: ../../c-api/code.rst:237
457+ #: ../../c-api/code.rst:298
360458msgid "_PyEval_RequestCodeExtraIndex (C function)"
361459msgstr "_PyEval_RequestCodeExtraIndex(C 函式)"
362460
363- #: ../../c-api/code.rst:255
461+ #: ../../c-api/code.rst:316
364462msgid "_PyCode_GetExtra (C function)"
365463msgstr "_PyCode_GetExtra(C 函式)"
366464
367- #: ../../c-api/code.rst:270
465+ #: ../../c-api/code.rst:331
368466msgid "_PyCode_SetExtra (C function)"
369467msgstr "_PyCode_SetExtra(C 函式)"