[Python-checkins] cpython (3.4): the name of the slot of nb_multiply not nb_mul
benjamin.peterson
python-checkins at python.org
Tue Apr 8 16:45:06 CEST 2014
http://hg.python.org/cpython/rev/96a3c9a4287f
changeset: 90172:96a3c9a4287f
branch: 3.4
parent: 90167:33528b9520e6
user: Benjamin Peterson <benjamin at python.org>
date: Tue Apr 08 10:44:30 2014 -0400
summary:
the name of the slot of nb_multiply not nb_mul
files:
Doc/c-api/typeobj.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1199,7 +1199,8 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list