]> granicus.if.org Git - python/commitdiff
the name of the slot of nb_multiply not nb_mul
authorBenjamin Peterson <benjamin@python.org>
Tue, 8 Apr 2014 14:44:30 +0000 (10:44 -0400)
committerBenjamin Peterson <benjamin@python.org>
Tue, 8 Apr 2014 14:44:30 +0000 (10:44 -0400)
Doc/c-api/typeobj.rst

index 54f704a7d420cd6dee8e0c194df1813a2a760837..b545b061b2c3d43a820ddbdbf05b5667268d54b5 100644 (file)
@@ -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