@@ -3297,6 +3297,10 @@ msgid ""
32973297"be left to ``NULL`` if the object does not support item assignment and "
32983298"deletion."
32993299msgstr ""
3300+ "此函数被 :c:func:`PySequence_SetItem` 所使用并具有相同的签名。 在尝试通过 "
3301+ ":c:member:`~PyMappingMethods.mp_ass_subscript` 槽位执行条目赋值和删除操作之后它还会被用于 "
3302+ ":c:func:`PyObject_SetItem` 和 :c:func:`PyObject_DelItem`。 "
3303+ "如果对象不支持条目和删除则该槽位可以保持为 ``NULL``。"
33003304
33013305#: ../../c-api/typeobj.rst:2185
33023306msgid ""
@@ -3317,6 +3321,11 @@ msgid ""
33173321"augmented assignment ``+=``, after trying numeric in-place addition via the "
33183322":c:member:`~PyNumberMethods.nb_inplace_add` slot."
33193323msgstr ""
3324+ "此函数被 :c:func:`PySequence_InPlaceConcat` 所使用并具有相同的签名。 它应当修改它的第一个操作数,并将其返回。 "
3325+ "该槽位可以保持为 ``NULL``,在此情况下 :c:func:`!PySequence_InPlaceConcat` 将回退到 "
3326+ ":c:func:`PySequence_Concat`。 在尝试通过 "
3327+ ":c:member:`~PyNumberMethods.nb_inplace_add` 槽位执行数字原地相加之后它还会被用于增强赋值运算符 "
3328+ "``+=``。"
33203329
33213330#: ../../c-api/typeobj.rst:2201
33223331msgid ""
@@ -3327,17 +3336,24 @@ msgid ""
33273336"augmented assignment ``*=``, after trying numeric in-place multiplication "
33283337"via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot."
33293338msgstr ""
3339+ "此函数被 :c:func:`PySequence_InPlaceRepeat` 所使用并具有相同的签名。 它应当修改它的第一个操作数,并将其返回。 "
3340+ "该槽位可以保持为 ``NULL``,在此情况下 :c:func:`!PySequence_InPlaceRepeat` 将回退到 "
3341+ ":c:func:`PySequence_Repeat`。 在尝试通过 "
3342+ ":c:member:`~PyNumberMethods.nb_inplace_multiply` 槽位执行数字原地相乘之后它还会被用于增强赋值运算符 "
3343+ "``*=``。"
33303344
33313345#: ../../c-api/typeobj.rst:2212
33323346msgid "Buffer Object Structures"
3333- msgstr ""
3347+ msgstr "缓冲区对象结构体 "
33343348
33353349#: ../../c-api/typeobj.rst:2220
33363350msgid ""
33373351"This structure holds pointers to the functions required by the :ref:`Buffer "
33383352"protocol <bufferobjects>`. The protocol defines how an exporter object can "
33393353"expose its internal data to consumer objects."
33403354msgstr ""
3355+ "此结构体持有指向 :ref:`缓冲区协议 <bufferobjects>` 所需要的函数的指针。 "
3356+ "该协议定义了导出方对象要如何向消费方对象暴露其内部数据。"
33413357
33423358#: ../../c-api/typeobj.rst:2226 ../../c-api/typeobj.rst:2275
33433359#: ../../c-api/typeobj.rst:2328 ../../c-api/typeobj.rst:2339
0 commit comments