[Python-checkins] cpython (2.7): the name of the slot of nb_multiply not nb_mul
benjamin.peterson
python-checkins at python.org
Tue Apr 8 16:45:08 CEST 2014
http://hg.python.org/cpython/rev/41dbabb7d383
changeset: 90173:41dbabb7d383
branch: 2.7
parent: 90166:aff368b58a98
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
@@ -1295,7 +1295,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