66msgstr ""
77"Project-Id-Version : Python 3.14\n "
88"Report-Msgid-Bugs-To : \n "
9- "POT-Creation-Date : 2025-10-25 22:20 +0000\n "
9+ "POT-Creation-Date : 2025-11-13 23:16 +0000\n "
1010"PO-Revision-Date : 2015-12-09 17:51+0000\n "
1111"Last-Translator : Liang-Bo Wang <me@liang2.tw>\n "
1212"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -251,191 +251,205 @@ msgid ""
251251"it before returning."
252252msgstr ""
253253
254- #: ../../c-api/code.rst:217
254+ #: ../../c-api/code.rst:216
255+ msgid "This is a :term:`soft deprecated` function that does nothing."
256+ msgstr ""
257+
258+ #: ../../c-api/code.rst:218
259+ msgid ""
260+ "Prior to Python 3.10, this function would perform basic optimizations to a "
261+ "code object."
262+ msgstr ""
263+
264+ #: ../../c-api/code.rst:221
265+ msgid "This function now does nothing."
266+ msgstr ""
267+
268+ #: ../../c-api/code.rst:228
255269msgid "Code Object Flags"
256270msgstr "程式碼物件旗標"
257271
258- #: ../../c-api/code.rst:219
272+ #: ../../c-api/code.rst:230
259273msgid ""
260274"Code objects contain a bit-field of flags, which can be retrieved as the :"
261275"attr:`~codeobject.co_flags` Python attribute (for example using :c:func:"
262276"`PyObject_GetAttrString`), and set using a *flags* argument to :c:func:"
263277"`PyUnstable_Code_New` and similar functions."
264278msgstr ""
265279
266- #: ../../c-api/code.rst:224
280+ #: ../../c-api/code.rst:235
267281msgid ""
268282"Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
269283"selectable by :ref:`future statements <future>`. These flags can be used in :"
270284"c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are "
271285"mandatory in current versions of Python, and setting them has no effect."
272286msgstr ""
273287
274- #: ../../c-api/code.rst:230
288+ #: ../../c-api/code.rst:241
275289msgid ""
276290"The following flags are available. For their meaning, see the linked "
277291"documentation of their Python equivalents."
278292msgstr ""
279293
280- #: ../../c-api/code.rst:238
294+ #: ../../c-api/code.rst:249
281295msgid "Flag"
282296msgstr "旗標"
283297
284- #: ../../c-api/code.rst:239
298+ #: ../../c-api/code.rst:250
285299msgid "Meaning"
286300msgstr "意義"
287301
288- #: ../../c-api/code.rst:241
302+ #: ../../c-api/code.rst:252
289303msgid ":py:data:`inspect.CO_OPTIMIZED`"
290304msgstr ":py:data:`inspect.CO_OPTIMIZED`"
291305
292- #: ../../c-api/code.rst:243
306+ #: ../../c-api/code.rst:254
293307msgid ":py:data:`inspect.CO_NEWLOCALS`"
294308msgstr ":py:data:`inspect.CO_NEWLOCALS`"
295309
296- #: ../../c-api/code.rst:245
310+ #: ../../c-api/code.rst:256
297311msgid ":py:data:`inspect.CO_VARARGS`"
298312msgstr ":py:data:`inspect.CO_VARARGS`"
299313
300- #: ../../c-api/code.rst:247
314+ #: ../../c-api/code.rst:258
301315msgid ":py:data:`inspect.CO_VARKEYWORDS`"
302316msgstr ":py:data:`inspect.CO_VARKEYWORDS`"
303317
304- #: ../../c-api/code.rst:249
318+ #: ../../c-api/code.rst:260
305319msgid ":py:data:`inspect.CO_NESTED`"
306320msgstr ":py:data:`inspect.CO_NESTED`"
307321
308- #: ../../c-api/code.rst:251
322+ #: ../../c-api/code.rst:262
309323msgid ":py:data:`inspect.CO_GENERATOR`"
310324msgstr ":py:data:`inspect.CO_GENERATOR`"
311325
312- #: ../../c-api/code.rst:253
326+ #: ../../c-api/code.rst:264
313327msgid ":py:data:`inspect.CO_COROUTINE`"
314328msgstr ":py:data:`inspect.CO_COROUTINE`"
315329
316- #: ../../c-api/code.rst:255
330+ #: ../../c-api/code.rst:266
317331msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
318332msgstr ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
319333
320- #: ../../c-api/code.rst:257
334+ #: ../../c-api/code.rst:268
321335msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
322336msgstr ":py:data:`inspect.CO_ASYNC_GENERATOR`"
323337
324- #: ../../c-api/code.rst:259
338+ #: ../../c-api/code.rst:270
325339msgid ":py:data:`inspect.CO_HAS_DOCSTRING`"
326340msgstr ":py:data:`inspect.CO_HAS_DOCSTRING`"
327341
328- #: ../../c-api/code.rst:261
342+ #: ../../c-api/code.rst:272
329343msgid ":py:data:`inspect.CO_METHOD`"
330344msgstr ":py:data:`inspect.CO_METHOD`"
331345
332- #: ../../c-api/code.rst:264
346+ #: ../../c-api/code.rst:275
333347msgid "no effect (:py:data:`__future__.division`)"
334348msgstr "無效果(:py:data:`__future__.division`)"
335349
336- #: ../../c-api/code.rst:266
350+ #: ../../c-api/code.rst:277
337351msgid "no effect (:py:data:`__future__.absolute_import`)"
338352msgstr "無效果(:py:data:`__future__.absolute_import`)"
339353
340- #: ../../c-api/code.rst:268
354+ #: ../../c-api/code.rst:279
341355msgid "no effect (:py:data:`__future__.with_statement`)"
342356msgstr "無效果(:py:data:`__future__.with_statement`)"
343357
344- #: ../../c-api/code.rst:270
358+ #: ../../c-api/code.rst:281
345359msgid "no effect (:py:data:`__future__.print_function`)"
346360msgstr "無效果(:py:data:`__future__.print_function`)"
347361
348- #: ../../c-api/code.rst:272
362+ #: ../../c-api/code.rst:283
349363msgid "no effect (:py:data:`__future__.unicode_literals`)"
350364msgstr "無效果(:py:data:`__future__.unicode_literals`)"
351365
352- #: ../../c-api/code.rst:274
366+ #: ../../c-api/code.rst:285
353367msgid "no effect (:py:data:`__future__.generator_stop`)"
354368msgstr "無效果(:py:data:`__future__.generator_stop`)"
355369
356- #: ../../c-api/code.rst:276
370+ #: ../../c-api/code.rst:287
357371msgid ":py:data:`__future__.annotations`"
358372msgstr ":py:data:`__future__.annotations`"
359373
360- #: ../../c-api/code.rst:280
374+ #: ../../c-api/code.rst:291
361375msgid "Extra information"
362376msgstr "額外資訊"
363377
364- #: ../../c-api/code.rst:282
378+ #: ../../c-api/code.rst:293
365379msgid ""
366380"To support low-level extensions to frame evaluation, such as external just-"
367381"in-time compilers, it is possible to attach arbitrary extra data to code "
368382"objects."
369383msgstr ""
370384
371- #: ../../c-api/code.rst:286
385+ #: ../../c-api/code.rst:297
372386msgid ""
373387"These functions are part of the unstable C API tier: this functionality is a "
374388"CPython implementation detail, and the API may change without deprecation "
375389"warnings."
376390msgstr ""
377391
378- #: ../../c-api/code.rst:292
392+ #: ../../c-api/code.rst:303
379393msgid "Return a new opaque index value used to adding data to code objects."
380394msgstr ""
381395
382- #: ../../c-api/code.rst:294
396+ #: ../../c-api/code.rst:305
383397msgid ""
384398"You generally call this function once (per interpreter) and use the result "
385399"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
386400"individual code objects."
387401msgstr ""
388402
389- #: ../../c-api/code.rst:298
403+ #: ../../c-api/code.rst:309
390404msgid ""
391405"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
392406"called on non-``NULL`` data stored under the new index. Use :c:func:"
393407"`Py_DecRef` when storing :c:type:`PyObject`."
394408msgstr ""
395409
396- #: ../../c-api/code.rst:304
410+ #: ../../c-api/code.rst:315
397411msgid "as ``_PyEval_RequestCodeExtraIndex``"
398412msgstr ""
399413
400- #: ../../c-api/code.rst:308
414+ #: ../../c-api/code.rst:319
401415msgid ""
402416"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
403417"is deprecated, but will be available until the API changes."
404418msgstr ""
405419
406- #: ../../c-api/code.rst:314
420+ #: ../../c-api/code.rst:325
407421msgid ""
408422"Set *extra* to the extra data stored under the given index. Return 0 on "
409423"success. Set an exception and return -1 on failure."
410424msgstr ""
411425
412- #: ../../c-api/code.rst:317
426+ #: ../../c-api/code.rst:328
413427msgid ""
414428"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
415429"without setting an exception."
416430msgstr ""
417431
418- #: ../../c-api/code.rst:322
432+ #: ../../c-api/code.rst:333
419433msgid "as ``_PyCode_GetExtra``"
420434msgstr ""
421435
422- #: ../../c-api/code.rst:326
436+ #: ../../c-api/code.rst:337
423437msgid ""
424438"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
425439"but will be available until the API changes."
426440msgstr ""
427441
428- #: ../../c-api/code.rst:332
442+ #: ../../c-api/code.rst:343
429443msgid ""
430444"Set the extra data stored under the given index to *extra*. Return 0 on "
431445"success. Set an exception and return -1 on failure."
432446msgstr ""
433447
434- #: ../../c-api/code.rst:337
448+ #: ../../c-api/code.rst:348
435449msgid "as ``_PyCode_SetExtra``"
436450msgstr ""
437451
438- #: ../../c-api/code.rst:341
452+ #: ../../c-api/code.rst:352
439453msgid ""
440454"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
441455"but will be available until the API changes."
@@ -461,14 +475,14 @@ msgstr "PyCode_New(C 函式)"
461475msgid "PyCode_NewWithPosOnlyArgs (C function)"
462476msgstr "PyCode_NewWithPosOnlyArgs(C 函式)"
463477
464- #: ../../c-api/code.rst:302
478+ #: ../../c-api/code.rst:313
465479msgid "_PyEval_RequestCodeExtraIndex (C function)"
466480msgstr "_PyEval_RequestCodeExtraIndex(C 函式)"
467481
468- #: ../../c-api/code.rst:320
482+ #: ../../c-api/code.rst:331
469483msgid "_PyCode_GetExtra (C function)"
470484msgstr "_PyCode_GetExtra(C 函式)"
471485
472- #: ../../c-api/code.rst:335
486+ #: ../../c-api/code.rst:346
473487msgid "_PyCode_SetExtra (C function)"
474488msgstr "_PyCode_SetExtra(C 函式)"
0 commit comments