Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c11132

Browse files
[po] auto sync
1 parent b927aa4 commit 2c11132

File tree

10 files changed

+1068
-961
lines changed

10 files changed

+1068
-961
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.12%", "updated_at": "2025-01-03T17:46:35Z"}
1+
{"translation": "81.04%", "updated_at": "2025-01-10T15:46:19Z"}

c-api/arg.po

Lines changed: 173 additions & 160 deletions
Large diffs are not rendered by default.

c-api/object.po

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-12-20 14:50+0000\n"
14+
"POT-Creation-Date: 2025-01-10 14:49+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -538,6 +538,15 @@ msgstr "从对象 *o* 中移除对象 *key* 的映射。失败时返回 ``-1``
538538

539539
#: ../../c-api/object.rst:398
540540
msgid ""
541+
"This is the same as :c:func:`PyObject_DelItem`, but *key* is specified as a "
542+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
543+
":c:expr:`PyObject*`."
544+
msgstr ""
545+
"这与 :c:func:`PyObject_DelItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
546+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
547+
548+
#: ../../c-api/object.rst:405
549+
msgid ""
541550
"This is equivalent to the Python expression ``dir(o)``, returning a "
542551
"(possibly empty) list of strings appropriate for the object argument, or "
543552
"``NULL`` if there was an error. If the argument is ``NULL``, this is like "
@@ -549,7 +558,7 @@ msgstr ""
549558
"``NULL``,类似 Python 的 ``dir()``,则返回当前 locals 的名字;这时如果没有活动的执行框架,则返回 ``NULL``,但"
550559
" :c:func:`PyErr_Occurred` 将返回 false。"
551560

552-
#: ../../c-api/object.rst:407
561+
#: ../../c-api/object.rst:414
553562
msgid ""
554563
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
555564
"iterator for the object argument, or the object itself if the object is "
@@ -560,7 +569,7 @@ msgstr ""
560569
"``iter(o)``。为对象参数返回一个新的迭代器,如果该对象已经是一个迭代器,则返回对象本身。如果对象不能被迭代,会引发 "
561570
":exc:`TypeError` ,并返回 ``NULL``。"
562571

563-
#: ../../c-api/object.rst:415
572+
#: ../../c-api/object.rst:422
564573
msgid ""
565574
"This is equivalent to the Python ``__iter__(self): return self`` method. It "
566575
"is intended for :term:`iterator` types, to be used in the "
@@ -569,7 +578,7 @@ msgstr ""
569578
"这等价于 Python ``__iter__(self): return self`` 方法。 它是针对 :term:`iterator` "
570579
"类型设计的,将在 :c:member:`PyTypeObject.tp_iter` 槽位中使用。"
571580

572-
#: ../../c-api/object.rst:421
581+
#: ../../c-api/object.rst:428
573582
msgid ""
574583
"This is the equivalent to the Python expression ``aiter(o)``. Takes an "
575584
":class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. "
@@ -581,11 +590,11 @@ msgstr ""
581590
":class:`AsyncIterator`。通常返回的是一个新迭代器,但如果参数是一个 "
582591
":class:`AsyncIterator`,将返回其自身。如果该对象不能被迭代,会引发 :exc:`TypeError`,并返回 ``NULL``。"
583592

584-
#: ../../c-api/object.rst:431
593+
#: ../../c-api/object.rst:438
585594
msgid "Get a pointer to subclass-specific data reserved for *cls*."
586595
msgstr "获取一个指向为 *cls* 保留的子类专属数据的指针。"
587596

588-
#: ../../c-api/object.rst:433
597+
#: ../../c-api/object.rst:440
589598
msgid ""
590599
"The object *o* must be an instance of *cls*, and *cls* must have been "
591600
"created using negative :c:member:`PyType_Spec.basicsize`. Python does not "
@@ -594,17 +603,17 @@ msgstr ""
594603
"对象 *o* 必须为 *cls* 的实例,而 *cls* 必须使用负的 :c:member:`PyType_Spec.basicsize` 来创建。 "
595604
"Python 不会检查这一点。"
596605

597-
#: ../../c-api/object.rst:437
606+
#: ../../c-api/object.rst:444
598607
msgid "On error, set an exception and return ``NULL``."
599608
msgstr "发生错误时,将设置异常并返回 ``NULL``。"
600609

601-
#: ../../c-api/object.rst:443
610+
#: ../../c-api/object.rst:450
602611
msgid ""
603612
"Return the size of the instance memory space reserved for *cls*, i.e. the "
604613
"size of the memory :c:func:`PyObject_GetTypeData` returns."
605614
msgstr "返回为 *cls* 保留的实例内存空间大小,即 :c:func:`PyObject_GetTypeData` 所返回的内存大小。"
606615

607-
#: ../../c-api/object.rst:446
616+
#: ../../c-api/object.rst:453
608617
msgid ""
609618
"This may be larger than requested using :c:member:`-PyType_Spec.basicsize "
610619
"<PyType_Spec.basicsize>`; it is safe to use this larger size (e.g. with "
@@ -613,24 +622,24 @@ msgstr ""
613622
"这可能会大于使用 :c:member:`-PyType_Spec.basicsize <PyType_Spec.basicsize>` "
614623
"请求到的大小;可以安全地使用这个更大的值 (例如通过 :c:func:`!memset`)。"
615624

616-
#: ../../c-api/object.rst:449
625+
#: ../../c-api/object.rst:456
617626
msgid ""
618627
"The type *cls* **must** have been created using negative "
619628
":c:member:`PyType_Spec.basicsize`. Python does not check this."
620629
msgstr ""
621630
"类型 *cls* **必须** 使用负的 :c:member:`PyType_Spec.basicsize` 来创建。 Python 不会检查这一点。"
622631

623-
#: ../../c-api/object.rst:453
632+
#: ../../c-api/object.rst:460
624633
msgid "On error, set an exception and return a negative value."
625634
msgstr "当失败时,将设置异常并返回一个负值。"
626635

627-
#: ../../c-api/object.rst:459
636+
#: ../../c-api/object.rst:466
628637
msgid ""
629638
"Get a pointer to per-item data for a class with "
630639
":c:macro:`Py_TPFLAGS_ITEMS_AT_END`."
631640
msgstr "使用 :c:macro:`Py_TPFLAGS_ITEMS_AT_END` 获取一个指向类的单独条目数据的指针。"
632641

633-
#: ../../c-api/object.rst:462
642+
#: ../../c-api/object.rst:469
634643
msgid ""
635644
"On error, set an exception and return ``NULL``. :py:exc:`TypeError` is "
636645
"raised if *o* does not have :c:macro:`Py_TPFLAGS_ITEMS_AT_END` set."

0 commit comments

Comments
 (0)