66msgstr ""
77"Project-Id-Version : Python 3.14\n "
88"Report-Msgid-Bugs-To : \n "
9- "POT-Creation-Date : 2026-10-15 11:47 +0000\n "
9+ "POT-Creation-Date : 2026-10-23 00:25 +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- "
@@ -217,26 +217,33 @@ msgid ""
217217msgstr ""
218218
219219#: ../../c-api/code.rst:181
220+ msgid ""
221+ "Apply the macro *V* to each suffix of :c:type:`PyCodeEvent` constants. "
222+ "Currently expands to ``V(CREATE) V(DESTROY)``. The macro *V* must accept one "
223+ "event name and supply any punctuation needed between expansions."
224+ msgstr ""
225+
226+ #: ../../c-api/code.rst:189
220227msgid "Type of a code object watcher callback function."
221228msgstr ""
222229
223- #: ../../c-api/code.rst:183
230+ #: ../../c-api/code.rst:191
224231msgid ""
225232"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
226233"*co* has been fully initialized. Otherwise, the callback is invoked before "
227234"the destruction of *co* takes place, so the prior state of *co* can be "
228235"inspected."
229236msgstr ""
230237
231- #: ../../c-api/code.rst:188
238+ #: ../../c-api/code.rst:196
232239msgid ""
233240"If *event* is ``PY_CODE_EVENT_DESTROY``, taking a reference in the callback "
234241"to the about-to-be-destroyed code object will resurrect it and prevent it "
235242"from being freed at this time. When the resurrected object is destroyed "
236243"later, any watcher callbacks active at that time will be called again."
237244msgstr ""
238245
239- #: ../../c-api/code.rst:193
246+ #: ../../c-api/code.rst:201
240247msgid ""
241248"Users of this API should not rely on internal runtime implementation "
242249"details. Such details may include, but are not limited to, the exact order "
@@ -246,14 +253,14 @@ msgid ""
246253"the Python code being executed."
247254msgstr ""
248255
249- #: ../../c-api/code.rst:200
256+ #: ../../c-api/code.rst:208
250257msgid ""
251258"If the callback sets an exception, it must return ``-1``; this exception "
252259"will be printed as an unraisable exception using :c:func:"
253260"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
254261msgstr ""
255262
256- #: ../../c-api/code.rst:204
263+ #: ../../c-api/code.rst:212
257264msgid ""
258265"There may already be a pending exception set on entry to the callback. In "
259266"this case, the callback should return ``0`` with the same exception still "
@@ -262,209 +269,209 @@ msgid ""
262269"it before returning."
263270msgstr ""
264271
265- #: ../../c-api/code.rst:215
272+ #: ../../c-api/code.rst:223
266273msgid "This is a function that does nothing."
267274msgstr ""
268275
269- #: ../../c-api/code.rst:217
276+ #: ../../c-api/code.rst:225
270277msgid ""
271278"Prior to Python 3.10, this function would perform basic optimizations to a "
272279"code object."
273280msgstr ""
274281
275- #: ../../c-api/code.rst:220
282+ #: ../../c-api/code.rst:228
276283msgid "This function now does nothing."
277284msgstr ""
278285
279- #: ../../c-api/code.rst:229
286+ #: ../../c-api/code.rst:237
280287msgid "Code Object Flags"
281288msgstr "程式碼物件旗標"
282289
283- #: ../../c-api/code.rst:231
290+ #: ../../c-api/code.rst:239
284291msgid ""
285292"Code objects contain a bit-field of flags, which can be retrieved as the :"
286293"attr:`~codeobject.co_flags` Python attribute (for example using :c:func:"
287294"`PyObject_GetAttrString`), and set using a *flags* argument to :c:func:"
288295"`PyUnstable_Code_New` and similar functions."
289296msgstr ""
290297
291- #: ../../c-api/code.rst:236
298+ #: ../../c-api/code.rst:244
292299msgid ""
293300"Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
294301"selectable by :ref:`future statements <future>`. These flags can be used in :"
295302"c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are "
296303"mandatory in current versions of Python, and setting them has no effect."
297304msgstr ""
298305
299- #: ../../c-api/code.rst:242
306+ #: ../../c-api/code.rst:250
300307msgid ""
301308"The following flags are available. For their meaning, see the linked "
302309"documentation of their Python equivalents."
303310msgstr ""
304311
305- #: ../../c-api/code.rst:250
312+ #: ../../c-api/code.rst:258
306313msgid "Flag"
307314msgstr "旗標"
308315
309- #: ../../c-api/code.rst:251
316+ #: ../../c-api/code.rst:259
310317msgid "Meaning"
311318msgstr "意義"
312319
313- #: ../../c-api/code.rst:253
320+ #: ../../c-api/code.rst:261
314321msgid ":py:data:`inspect.CO_OPTIMIZED`"
315322msgstr ":py:data:`inspect.CO_OPTIMIZED`"
316323
317- #: ../../c-api/code.rst:255
324+ #: ../../c-api/code.rst:263
318325msgid ":py:data:`inspect.CO_NEWLOCALS`"
319326msgstr ":py:data:`inspect.CO_NEWLOCALS`"
320327
321- #: ../../c-api/code.rst:257
328+ #: ../../c-api/code.rst:265
322329msgid ":py:data:`inspect.CO_VARARGS`"
323330msgstr ":py:data:`inspect.CO_VARARGS`"
324331
325- #: ../../c-api/code.rst:259
332+ #: ../../c-api/code.rst:267
326333msgid ":py:data:`inspect.CO_VARKEYWORDS`"
327334msgstr ":py:data:`inspect.CO_VARKEYWORDS`"
328335
329- #: ../../c-api/code.rst:261
336+ #: ../../c-api/code.rst:269
330337msgid ":py:data:`inspect.CO_NESTED`"
331338msgstr ":py:data:`inspect.CO_NESTED`"
332339
333- #: ../../c-api/code.rst:263
340+ #: ../../c-api/code.rst:271
334341msgid ":py:data:`inspect.CO_GENERATOR`"
335342msgstr ":py:data:`inspect.CO_GENERATOR`"
336343
337- #: ../../c-api/code.rst:265
344+ #: ../../c-api/code.rst:273
338345msgid ":py:data:`inspect.CO_COROUTINE`"
339346msgstr ":py:data:`inspect.CO_COROUTINE`"
340347
341- #: ../../c-api/code.rst:267
348+ #: ../../c-api/code.rst:275
342349msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
343350msgstr ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
344351
345- #: ../../c-api/code.rst:269
352+ #: ../../c-api/code.rst:277
346353msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
347354msgstr ":py:data:`inspect.CO_ASYNC_GENERATOR`"
348355
349- #: ../../c-api/code.rst:271
356+ #: ../../c-api/code.rst:279
350357msgid ":py:data:`inspect.CO_HAS_DOCSTRING`"
351358msgstr ":py:data:`inspect.CO_HAS_DOCSTRING`"
352359
353- #: ../../c-api/code.rst:273
360+ #: ../../c-api/code.rst:281
354361msgid ":py:data:`inspect.CO_METHOD`"
355362msgstr ":py:data:`inspect.CO_METHOD`"
356363
357- #: ../../c-api/code.rst:276
364+ #: ../../c-api/code.rst:284
358365msgid "no effect (:py:data:`__future__.division`)"
359366msgstr "無效果(:py:data:`__future__.division`)"
360367
361- #: ../../c-api/code.rst:278
368+ #: ../../c-api/code.rst:286
362369msgid "no effect (:py:data:`__future__.absolute_import`)"
363370msgstr "無效果(:py:data:`__future__.absolute_import`)"
364371
365- #: ../../c-api/code.rst:280
372+ #: ../../c-api/code.rst:288
366373msgid "no effect (:py:data:`__future__.with_statement`)"
367374msgstr "無效果(:py:data:`__future__.with_statement`)"
368375
369- #: ../../c-api/code.rst:282
376+ #: ../../c-api/code.rst:290
370377msgid "no effect (:py:data:`__future__.print_function`)"
371378msgstr "無效果(:py:data:`__future__.print_function`)"
372379
373- #: ../../c-api/code.rst:284
380+ #: ../../c-api/code.rst:292
374381msgid "no effect (:py:data:`__future__.unicode_literals`)"
375382msgstr "無效果(:py:data:`__future__.unicode_literals`)"
376383
377- #: ../../c-api/code.rst:286
384+ #: ../../c-api/code.rst:294
378385msgid "no effect (:py:data:`__future__.generator_stop`)"
379386msgstr "無效果(:py:data:`__future__.generator_stop`)"
380387
381- #: ../../c-api/code.rst:288
388+ #: ../../c-api/code.rst:296
382389msgid ":py:data:`__future__.annotations`"
383390msgstr ":py:data:`__future__.annotations`"
384391
385- #: ../../c-api/code.rst:292
392+ #: ../../c-api/code.rst:300
386393msgid "Extra information"
387394msgstr "額外資訊"
388395
389- #: ../../c-api/code.rst:294
396+ #: ../../c-api/code.rst:302
390397msgid ""
391398"To support low-level extensions to frame evaluation, such as external just-"
392399"in-time compilers, it is possible to attach arbitrary extra data to code "
393400"objects."
394401msgstr ""
395402
396- #: ../../c-api/code.rst:298
403+ #: ../../c-api/code.rst:306
397404msgid ""
398405"These functions are part of the unstable C API tier: this functionality is a "
399406"CPython implementation detail, and the API may change without deprecation "
400407"warnings."
401408msgstr ""
402409
403- #: ../../c-api/code.rst:307
410+ #: ../../c-api/code.rst:315
404411msgid "Return a new opaque index value used to adding data to code objects."
405412msgstr ""
406413
407- #: ../../c-api/code.rst:309
414+ #: ../../c-api/code.rst:317
408415msgid ""
409416"You generally call this function once (per interpreter) and use the result "
410417"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
411418"individual code objects."
412419msgstr ""
413420
414- #: ../../c-api/code.rst:313
421+ #: ../../c-api/code.rst:321
415422msgid ""
416423"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
417424"called on non-``NULL`` data stored under the new index. Use :c:func:"
418425"`Py_DecRef` when storing :c:type:`PyObject`."
419426msgstr ""
420427
421- #: ../../c-api/code.rst:317
428+ #: ../../c-api/code.rst:325
422429msgid "as ``_PyEval_RequestCodeExtraIndex``"
423430msgstr "名為 ``_PyEval_RequestCodeExtraIndex``"
424431
425- #: ../../c-api/code.rst:321
432+ #: ../../c-api/code.rst:329
426433msgid ""
427434"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
428435"is deprecated, but will be available until the API changes."
429436msgstr ""
430437"重新命名為 ``PyUnstable_Eval_RequestCodeExtraIndex``。舊的私有名稱已被棄用,"
431438"但在 API 變更前仍可使用。"
432439
433- #: ../../c-api/code.rst:330
440+ #: ../../c-api/code.rst:338
434441msgid ""
435442"Set *extra* to the extra data stored under the given index. Return 0 on "
436443"success. Set an exception and return -1 on failure."
437444msgstr ""
438445
439- #: ../../c-api/code.rst:333
446+ #: ../../c-api/code.rst:341
440447msgid ""
441448"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
442449"without setting an exception."
443450msgstr ""
444451
445- #: ../../c-api/code.rst:336
452+ #: ../../c-api/code.rst:344
446453msgid "as ``_PyCode_GetExtra``"
447454msgstr "名為 ``_PyCode_GetExtra``"
448455
449- #: ../../c-api/code.rst:340
456+ #: ../../c-api/code.rst:348
450457msgid ""
451458"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated, "
452459"but will be available until the API changes."
453460msgstr ""
454461"重新命名為 ``PyUnstable_Code_GetExtra``。舊的私有名稱已被棄用,但在 API 變更"
455462"前仍可使用。"
456463
457- #: ../../c-api/code.rst:349
464+ #: ../../c-api/code.rst:357
458465msgid ""
459466"Set the extra data stored under the given index to *extra*. Return 0 on "
460467"success. Set an exception and return -1 on failure."
461468msgstr ""
462469
463- #: ../../c-api/code.rst:352
470+ #: ../../c-api/code.rst:360
464471msgid "as ``_PyCode_SetExtra``"
465472msgstr "名為 ``_PyCode_SetExtra``"
466473
467- #: ../../c-api/code.rst:356
474+ #: ../../c-api/code.rst:364
468475msgid ""
469476"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated, "
470477"but will be available until the API changes."
0 commit comments