🌐 AI搜索 & 代理 主页
Skip to content

Commit c886b52

Browse files
[po] auto sync
1 parent 2eee8b9 commit c886b52

File tree

5 files changed

+112
-134
lines changed

5 files changed

+112
-134
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "99.75%", "updated_at": "2025-11-14T06:59:49Z"}
1+
{"translation": "99.74%", "updated_at": "2025-11-15T15:57:05Z"}

c-api/code.po

Lines changed: 59 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-10-27 15:03+0000\n"
15+
"POT-Creation-Date: 2025-11-15 15:00+0000\n"
1516
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -294,11 +295,25 @@ msgstr ""
294295
"在进入回调时可能已经设置了尚未处理的异常。 在此情况下,回调应当返回 ``0`` 并仍然设置同样的异常。 这意味着该回调可能不会调用任何其他可设置异常的"
295296
" API 除非它先保存并清空异常状态,并在返回之前恢复它。"
296297

297-
#: ../../c-api/code.rst:217
298+
#: ../../c-api/code.rst:216
299+
msgid "This is a :term:`soft deprecated` function that does nothing."
300+
msgstr ""
301+
302+
#: ../../c-api/code.rst:218
303+
msgid ""
304+
"Prior to Python 3.10, this function would perform basic optimizations to a "
305+
"code object."
306+
msgstr ""
307+
308+
#: ../../c-api/code.rst:221
309+
msgid "This function now does nothing."
310+
msgstr "此函数现在不执行任何操作。"
311+
312+
#: ../../c-api/code.rst:228
298313
msgid "Code Object Flags"
299314
msgstr "代码对象标志"
300315

301-
#: ../../c-api/code.rst:219
316+
#: ../../c-api/code.rst:230
302317
msgid ""
303318
"Code objects contain a bit-field of flags, which can be retrieved as the "
304319
":attr:`~codeobject.co_flags` Python attribute (for example using "
@@ -309,7 +324,7 @@ msgstr ""
309324
":c:func:`PyObject_GetAttrString`),并通过 *flags* 参数设置 "
310325
":c:func:`PyUnstable_Code_New` 及类似函数。"
311326

312-
#: ../../c-api/code.rst:224
327+
#: ../../c-api/code.rst:235
313328
msgid ""
314329
"Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
315330
"selectable by :ref:`future statements <future>`. These flags can be used in "
@@ -320,107 +335,109 @@ msgstr ""
320335
":c:member:`PyCompilerFlags.cf_flags` 中使用。请注意,许多 ``CO_FUTURE_`` 标志在当前版本的 "
321336
"Python 中是强制性的,设置它们没有效果。"
322337

323-
#: ../../c-api/code.rst:230
338+
#: ../../c-api/code.rst:241
324339
msgid ""
325340
"The following flags are available. For their meaning, see the linked "
326341
"documentation of their Python equivalents."
327342
msgstr "以下是可用的标志位。有关其具体含义,请参阅对应Python原生标志位的官方文档说明。"
328343

329-
#: ../../c-api/code.rst:238
344+
#: ../../c-api/code.rst:249
330345
msgid "Flag"
331346
msgstr "标志位"
332347

333-
#: ../../c-api/code.rst:239
348+
#: ../../c-api/code.rst:250
334349
msgid "Meaning"
335350
msgstr "含意"
336351

337-
#: ../../c-api/code.rst:241
352+
#: ../../c-api/code.rst:252
338353
msgid ":py:data:`inspect.CO_OPTIMIZED`"
339354
msgstr ":py:data:`inspect.CO_OPTIMIZED`"
340355

341-
#: ../../c-api/code.rst:243
356+
#: ../../c-api/code.rst:254
342357
msgid ":py:data:`inspect.CO_NEWLOCALS`"
343358
msgstr ":py:data:`inspect.CO_NEWLOCALS`"
344359

345-
#: ../../c-api/code.rst:245
360+
#: ../../c-api/code.rst:256
346361
msgid ":py:data:`inspect.CO_VARARGS`"
347362
msgstr ":py:data:`inspect.CO_VARARGS`"
348363

349-
#: ../../c-api/code.rst:247
364+
#: ../../c-api/code.rst:258
350365
msgid ":py:data:`inspect.CO_VARKEYWORDS`"
351366
msgstr ":py:data:`inspect.CO_VARKEYWORDS`"
352367

353-
#: ../../c-api/code.rst:249
368+
#: ../../c-api/code.rst:260
354369
msgid ":py:data:`inspect.CO_NESTED`"
355370
msgstr ":py:data:`inspect.CO_NESTED`"
356371

357-
#: ../../c-api/code.rst:251
372+
#: ../../c-api/code.rst:262
358373
msgid ":py:data:`inspect.CO_GENERATOR`"
359374
msgstr ":py:data:`inspect.CO_GENERATOR`"
360375

361-
#: ../../c-api/code.rst:253
376+
#: ../../c-api/code.rst:264
362377
msgid ":py:data:`inspect.CO_COROUTINE`"
363378
msgstr ":py:data:`inspect.CO_COROUTINE`"
364379

365-
#: ../../c-api/code.rst:255
380+
#: ../../c-api/code.rst:266
366381
msgid ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
367382
msgstr ":py:data:`inspect.CO_ITERABLE_COROUTINE`"
368383

369-
#: ../../c-api/code.rst:257
384+
#: ../../c-api/code.rst:268
370385
msgid ":py:data:`inspect.CO_ASYNC_GENERATOR`"
371386
msgstr ":py:data:`inspect.CO_ASYNC_GENERATOR`"
372387

373-
#: ../../c-api/code.rst:260
388+
#: ../../c-api/code.rst:271
374389
msgid "no effect (:py:data:`__future__.division`)"
375390
msgstr "无效果 (:py:data:`__future__.division`)"
376391

377-
#: ../../c-api/code.rst:262
392+
#: ../../c-api/code.rst:273
378393
msgid "no effect (:py:data:`__future__.absolute_import`)"
379394
msgstr "无效果 (:py:data:`__future__.absolute_import`)"
380395

381-
#: ../../c-api/code.rst:264
396+
#: ../../c-api/code.rst:275
382397
msgid "no effect (:py:data:`__future__.with_statement`)"
383398
msgstr "无效果 (:py:data:`__future__.with_statement`)"
384399

385-
#: ../../c-api/code.rst:266
400+
#: ../../c-api/code.rst:277
386401
msgid "no effect (:py:data:`__future__.print_function`)"
387402
msgstr "无效果 (:py:data:`__future__.print_function`)"
388403

389-
#: ../../c-api/code.rst:268
404+
#: ../../c-api/code.rst:279
390405
msgid "no effect (:py:data:`__future__.unicode_literals`)"
391406
msgstr "无效果 (:py:data:`__future__.unicode_literals`)"
392407

393-
#: ../../c-api/code.rst:270
408+
#: ../../c-api/code.rst:281
394409
msgid "no effect (:py:data:`__future__.generator_stop`)"
395410
msgstr "无效果 (:py:data:`__future__.generator_stop`)"
396411

397-
#: ../../c-api/code.rst:272
412+
#: ../../c-api/code.rst:283
398413
msgid ":py:data:`__future__.annotations`"
399414
msgstr ":py:data:`__future__.annotations`"
400415

401-
#: ../../c-api/code.rst:276
416+
#: ../../c-api/code.rst:287
402417
msgid "Extra information"
403418
msgstr "附加信息"
404419

405-
#: ../../c-api/code.rst:278
420+
#: ../../c-api/code.rst:289
406421
msgid ""
407422
"To support low-level extensions to frame evaluation, such as external just-"
408423
"in-time compilers, it is possible to attach arbitrary extra data to code "
409424
"objects."
410425
msgstr "为了支持对帧求值的低层级扩展,如外部即时编译器等,可以在代码对象上附加任意的额外数据。"
411426

412-
#: ../../c-api/code.rst:282
427+
#: ../../c-api/code.rst:293
413428
msgid ""
414429
"These functions are part of the unstable C API tier: this functionality is a"
415430
" CPython implementation detail, and the API may change without deprecation "
416431
"warnings."
417432
msgstr "这些函数是不稳定 C API 层的一部分:该功能是 CPython 的实现细节,此 API 可能随时改变而不发出弃用警告。"
418433

419-
#: ../../c-api/code.rst:288
434+
#: ../../c-api/code.rst:299
420435
msgid "Return a new opaque index value used to adding data to code objects."
421436
msgstr ""
437+
"返回一个新的不透明索引值用于向代码对象添加数据。Return a new opaque index value used to adding data "
438+
"to code objects."
422439

423-
#: ../../c-api/code.rst:290
440+
#: ../../c-api/code.rst:301
424441
msgid ""
425442
"You generally call this function once (per interpreter) and use the result "
426443
"with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate data on "
@@ -429,7 +446,7 @@ msgstr ""
429446
"通常情况下(对于每个解释器)你只需调用该函数一次然后将调用结果与 ``PyCode_GetExtra`` 和 ``PyCode_SetExtra`` "
430447
"一起使用以操作单个代码对象上的数据。"
431448

432-
#: ../../c-api/code.rst:294
449+
#: ../../c-api/code.rst:305
433450
msgid ""
434451
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be"
435452
" called on non-``NULL`` data stored under the new index. Use "
@@ -438,50 +455,50 @@ msgstr ""
438455
"如果 *free* 没有不为 ``NULL``: 当代码对象被释放时,*free* 将在存储于新索引下的非 ``NULL`` 数据上被调用。 当存储 "
439456
":c:type:`PyObject` 时使用 :c:func:`Py_DecRef`。"
440457

441-
#: ../../c-api/code.rst:300
458+
#: ../../c-api/code.rst:311
442459
msgid "as ``_PyEval_RequestCodeExtraIndex``"
443460
msgstr "作为 ``_PyEval_RequestCodeExtraIndex``"
444461

445-
#: ../../c-api/code.rst:304
462+
#: ../../c-api/code.rst:315
446463
msgid ""
447464
"Renamed to ``PyUnstable_Eval_RequestCodeExtraIndex``. The old private name "
448465
"is deprecated, but will be available until the API changes."
449466
msgstr ""
450467
"重命名为 ``PyUnstable_Eval_RequestCodeExtraIndex``。 旧的私有名称已被弃用,但在 API 更改之前仍将可用。"
451468

452-
#: ../../c-api/code.rst:310
469+
#: ../../c-api/code.rst:321
453470
msgid ""
454471
"Set *extra* to the extra data stored under the given index. Return 0 on "
455472
"success. Set an exception and return -1 on failure."
456473
msgstr "将 *extra* 设为存储在给定索引下的额外数据。 成功时将返回 0。 失败时将设置一个异常并返回 -1。"
457474

458-
#: ../../c-api/code.rst:313
475+
#: ../../c-api/code.rst:324
459476
msgid ""
460477
"If no data was set under the index, set *extra* to ``NULL`` and return 0 "
461478
"without setting an exception."
462479
msgstr "如果未在索引下设置数据,则将 *extra* 设为 ``NULL`` 并返回 0 而不设置异常。"
463480

464-
#: ../../c-api/code.rst:318
481+
#: ../../c-api/code.rst:329
465482
msgid "as ``_PyCode_GetExtra``"
466483
msgstr "作为 ``_PyCode_GetExtra``"
467484

468-
#: ../../c-api/code.rst:322
485+
#: ../../c-api/code.rst:333
469486
msgid ""
470487
"Renamed to ``PyUnstable_Code_GetExtra``. The old private name is deprecated,"
471488
" but will be available until the API changes."
472489
msgstr "重命名为 ``PyUnstable_Code_GetExtra``。 旧的私有名称已被弃用,但在 API 更改之前仍将可用。"
473490

474-
#: ../../c-api/code.rst:328
491+
#: ../../c-api/code.rst:339
475492
msgid ""
476493
"Set the extra data stored under the given index to *extra*. Return 0 on "
477494
"success. Set an exception and return -1 on failure."
478495
msgstr "将存储在给定索引下的额外数据设为 *extra*。 成功时将返回 0。 失败时将设置一个异常并返回 -1。"
479496

480-
#: ../../c-api/code.rst:333
497+
#: ../../c-api/code.rst:344
481498
msgid "as ``_PyCode_SetExtra``"
482499
msgstr "作为 ``_PyCode_SetExtra``"
483500

484-
#: ../../c-api/code.rst:337
501+
#: ../../c-api/code.rst:348
485502
msgid ""
486503
"Renamed to ``PyUnstable_Code_SetExtra``. The old private name is deprecated,"
487504
" but will be available until the API changes."
@@ -507,14 +524,14 @@ msgstr "PyCode_New (C 函数)"
507524
msgid "PyCode_NewWithPosOnlyArgs (C function)"
508525
msgstr "PyCode_NewWithPosOnlyArgs (C 函数)"
509526

510-
#: ../../c-api/code.rst:298
527+
#: ../../c-api/code.rst:309
511528
msgid "_PyEval_RequestCodeExtraIndex (C function)"
512529
msgstr "_PyEval_RequestCodeExtraIndex (C 函数)"
513530

514-
#: ../../c-api/code.rst:316
531+
#: ../../c-api/code.rst:327
515532
msgid "_PyCode_GetExtra (C function)"
516533
msgstr "_PyCode_GetExtra (C 函数)"
517534

518-
#: ../../c-api/code.rst:331
535+
#: ../../c-api/code.rst:342
519536
msgid "_PyCode_SetExtra (C function)"
520537
msgstr "_PyCode_SetExtra (C 函数)"

c-api/dict.po

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-07 15:30+0000\n"
15+
"POT-Creation-Date: 2025-11-15 15:00+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1717
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -597,6 +597,55 @@ msgstr ""
597597
"在进入回调时可能已经设置了尚未处理的异常。 在此情况下,回调应当返回 ``0`` 并仍然设置同样的异常。 这意味着该回调可能不会调用任何其他可设置异常的"
598598
" API 除非它先保存并清空异常状态,并在返回之前恢复它。"
599599

600+
#: ../../c-api/dict.rst:428
601+
msgid "Dictionary View Objects"
602+
msgstr "字典视图对象"
603+
604+
#: ../../c-api/dict.rst:432
605+
msgid ""
606+
"Return true if *op* is a view of a set inside a dictionary. This is "
607+
"currently equivalent to :c:expr:`PyDictKeys_Check(op) || "
608+
"PyDictItems_Check(op)`. This function always succeeds."
609+
msgstr ""
610+
"如果 *op* 是一个字典内集合的视图则返回真值。 此函数目前等价于 :c:expr:`PyDictKeys_Check(op) || "
611+
"PyDictItems_Check(op)`。 此函数总是会成功执行。"
612+
613+
#: ../../c-api/dict.rst:439
614+
msgid ""
615+
"Type object for a view of dictionary keys. In Python, this is the type of "
616+
"the object returned by :meth:`dict.keys`."
617+
msgstr "由字典键组成的视图的类型对象。 在 Python 中,这就是由 :meth:`dict.keys` 返回的对象的类型。"
618+
619+
#: ../../c-api/dict.rst:445
620+
msgid ""
621+
"Return true if *op* is an instance of a dictionary keys view. This function "
622+
"always succeeds."
623+
msgstr "如果 *op* 是一���字典键视图的实例则返回真值。 此函数总是会成功执行。"
624+
625+
#: ../../c-api/dict.rst:451
626+
msgid ""
627+
"Type object for a view of dictionary values. In Python, this is the type of "
628+
"the object returned by :meth:`dict.values`."
629+
msgstr "由字典值组成的视图的类型对象。 在 Python 中,这就是由 :meth:`dict.values` 返回的对象的类型。"
630+
631+
#: ../../c-api/dict.rst:457
632+
msgid ""
633+
"Return true if *op* is an instance of a dictionary values view. This "
634+
"function always succeeds."
635+
msgstr "如果 *op* 是一个字典值视图的实例则返回真值。 此函数总是会成功执行。"
636+
637+
#: ../../c-api/dict.rst:463
638+
msgid ""
639+
"Type object for a view of dictionary items. In Python, this is the type of "
640+
"the object returned by :meth:`dict.items`."
641+
msgstr "由字典条目组成的视图的类型对象。 在 Python 中,这就是由 :meth:`dict.items` 返回的对象的类型。"
642+
643+
#: ../../c-api/dict.rst:469
644+
msgid ""
645+
"Return true if *op* is an instance of a dictionary items view. This function"
646+
" always succeeds."
647+
msgstr "如果 *op* 是一个字典条目视图的实例则返回真值。 此函数总是会成功执行。"
648+
600649
#: ../../c-api/dict.rst:8
601650
msgid "object"
602651
msgstr "object -- 对象"

0 commit comments

Comments
 (0)