the name of the slot of nb_multiply not nb_mul

This commit is contained in:
Benjamin Peterson 2014-04-08 10:44:30 -04:00
parent 222ef82827
commit f0f7844f38
1 changed files with 2 additions and 1 deletions

View File

@ -1199,7 +1199,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