@@ -3245,20 +3245,27 @@ msgid ""
32453245"handling negative indices via the :c:member:`~PySequenceMethods.sq_item` and"
32463246" the :c:member:`~PySequenceMethods.sq_ass_item` slots."
32473247msgstr ""
3248+ "此函数被 :c:func:`PySequence_Size` 和 :c:func:`PyObject_Size` 所使用,并具有与它们相同的签名。 "
3249+ "它还被用于通过 :c:member:`~PySequenceMethods.sq_item` 和 "
3250+ ":c:member:`~PySequenceMethods.sq_ass_item` 槽位来处理负索引号。"
32483251
32493252#: ../../c-api/typeobj.rst:2151
32503253msgid ""
32513254"This function is used by :c:func:`PySequence_Concat` and has the same "
32523255"signature. It is also used by the ``+`` operator, after trying the numeric "
32533256"addition via the :c:member:`~PyNumberMethods.nb_add` slot."
32543257msgstr ""
3258+ "此函数被 :c:func:`PySequence_Concat` 所使用并具有相同的签名。 在尝试通过 "
3259+ ":c:member:`~PyNumberMethods.nb_add` 槽位执行数值相加之后它还会被用于 ``+`` 运算符。"
32553260
32563261#: ../../c-api/typeobj.rst:2157
32573262msgid ""
32583263"This function is used by :c:func:`PySequence_Repeat` and has the same "
32593264"signature. It is also used by the ``*`` operator, after trying numeric "
32603265"multiplication via the :c:member:`~PyNumberMethods.nb_multiply` slot."
32613266msgstr ""
3267+ "此函数被 :c:func:`PySequence_Repeat` 所使用并具有相同的签名。 在尝试通过 "
3268+ ":c:member:`~PyNumberMethods.nb_multiply` 槽位执行数值相乘之后它还会被用于 ``*`` 运算符。"
32623269
32633270#: ../../c-api/typeobj.rst:2163
32643271msgid ""
@@ -3268,6 +3275,10 @@ msgid ""
32683275"slot must be filled for the :c:func:`PySequence_Check` function to return "
32693276"``1``, it can be ``NULL`` otherwise."
32703277msgstr ""
3278+ "此函数被 :c:func:`PySequence_GetItem` 所使用并具有相同的签名。 在尝试通过 "
3279+ ":c:member:`~PyMappingMethods.mp_subscript` 槽位执行下标操作之后它还会被用于 "
3280+ ":c:func:`PyObject_GetItem`。 该槽位必须被填充以便 :c:func:`PySequence_Check` 函数返回 "
3281+ "``1``,否则它可以为 ``NULL``。"
32713282
32723283#: ../../c-api/typeobj.rst:2169
32733284msgid ""
0 commit comments