mirror of
https://github.com/python/cpython.git
synced 2025-11-13 23:46:24 +00:00
the name of the slot of nb_multiply not nb_mul
This commit is contained in:
parent
222ef82827
commit
f0f7844f38
1 changed files with 2 additions and 1 deletions
|
|
@ -1199,7 +1199,8 @@ Sequence Object Structures
|
||||||
|
|
||||||
This function is used by :c:func:`PySequence_Repeat` and has the same
|
This function is used by :c:func:`PySequence_Repeat` and has the same
|
||||||
signature. It is also used by the ``*`` operator, after trying numeric
|
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
|
.. c:member:: ssizeargfunc PySequenceMethods.sq_item
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue