From: Benjamin Peterson Date: Tue, 8 Apr 2014 14:44:30 +0000 (-0400) Subject: the name of the slot of nb_multiply not nb_mul X-Git-Tag: v2.7.7rc1~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=236d9f8cd69be41d3883674afc813059a019a144;p=python the name of the slot of nb_multiply not nb_mul --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 54f704a7d4..b545b061b2 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -1295,7 +1295,8 @@ Sequence Object Structures This function is used by :c:func:`PySequence_Repeat` and has the same signature. It is also used by the ``*`` operator, after trying numeric - multiplication via the :c:member:`~PyTypeObject.tp_as_number.nb_mul` slot. + multiplication via the :c:member:`~PyTypeObject.tp_as_number.nb_multiply` + slot. .. c:member:: ssizeargfunc PySequenceMethods.sq_item