summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-08 14:44:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-04-08 14:44:30 (GMT)
commitf0f7844f38ff692aa6add3af9cf9395544654cbc (patch)
treebae36f3a1bdb108c49d688f5e4046d15a9a1c7dc /Doc/c-api
parent222ef828277f99dc6234f1421bf40724cd9167f8 (diff)
downloadcpython-f0f7844f38ff692aa6add3af9cf9395544654cbc.zip
cpython-f0f7844f38ff692aa6add3af9cf9395544654cbc.tar.gz
cpython-f0f7844f38ff692aa6add3af9cf9395544654cbc.tar.bz2
the name of the slot of nb_multiply not nb_mul
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/typeobj.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index efd8574..666de64 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -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