@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.10\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-09-15 15:11 +0000\n "
14+ "POT-Creation-Date : 2023-09-22 15:15 +0000\n "
1515"PO-Revision-Date : 2022-11-05 17:21+0000\n "
1616"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2023\n "
1717"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1560,6 +1560,9 @@ msgid ""
15601560"with the *vectorcallfunc* function. This can be done by setting *tp_call* to"
15611561" :c:func:`PyVectorcall_Call`."
15621562msgstr ""
1563+ "任何设置了 ``Py_TPFLAGS_HAVE_VECTORCALL`` 的类也必须设置 "
1564+ ":c:member:`~PyTypeObject.tp_call` 并确保其行为与 *vectorcallfunc* 函数一致。 这可以通过将 "
1565+ "*tp_call* 设为 :c:func:`PyVectorcall_Call` 来实现。"
15631566
15641567#: ../../c-api/typeobj.rst:733
15651568msgid ""
@@ -1574,6 +1577,8 @@ msgid ""
15741577"Before version 3.8, this slot was named ``tp_print``. In Python 2.x, it was "
15751578"used for printing to a file. In Python 3.0 to 3.7, it was unused."
15761579msgstr ""
1580+ "在 3.8 版之前,这个槽位被命名为 ``tp_print``。 在 Python 2.x 中,它被用于打印到文件。 在 Python 3.0 至 "
1581+ "3.7 中,它没有被使用。"
15771582
15781583#: ../../c-api/typeobj.rst:746
15791584msgid ""
@@ -1707,32 +1712,34 @@ msgid ""
17071712"returned, where ``%s`` is replaced by the type name, and ``%p`` by the "
17081713"object's memory address."
17091714msgstr ""
1715+ "如果未设置该字段,则返回 ``<%s object at %p>`` 形式的字符串,其中 ``%s`` 将替换为类型名称,``%p`` "
1716+ "将替换为对象的内存地址。"
17101717
17111718#: ../../c-api/typeobj.rst:835
17121719msgid ""
17131720"Pointer to an additional structure that contains fields relevant only to "
17141721"objects which implement the number protocol. These fields are documented in"
17151722" :ref:`number-structs`."
1716- msgstr ""
1723+ msgstr "指向一个附加结构体的指针,其中包含只与执行数字协议的对象相关的字段。 这些字段的文档参见 :ref:`number-structs`。 "
17171724
17181725#: ../../c-api/typeobj.rst:841
17191726msgid ""
17201727"The :c:member:`~PyTypeObject.tp_as_number` field is not inherited, but the "
17211728"contained fields are inherited individually."
1722- msgstr ""
1729+ msgstr ":c:member:`~PyTypeObject.tp_as_number` 字段不会被继承,但所包含的字段会被单独继承。 "
17231730
17241731#: ../../c-api/typeobj.rst:847
17251732msgid ""
17261733"Pointer to an additional structure that contains fields relevant only to "
17271734"objects which implement the sequence protocol. These fields are documented "
17281735"in :ref:`sequence-structs`."
1729- msgstr ""
1736+ msgstr "指向一个附加结构体的指针,其中包含只与执行序列协议的对象相关的字段。 这些字段的文档见 :ref:`sequence-structs`。 "
17301737
17311738#: ../../c-api/typeobj.rst:853
17321739msgid ""
17331740"The :c:member:`~PyTypeObject.tp_as_sequence` field is not inherited, but the"
17341741" contained fields are inherited individually."
1735- msgstr ""
1742+ msgstr ":c:member:`~PyTypeObject.tp_as_sequence` 字段不会被继承,但所包含的字段会被单独继承。 "
17361743
17371744#: ../../c-api/typeobj.rst:859
17381745msgid ""
0 commit comments