mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
Issue #15657: Delete incorrect statement from PyMethodDef documentation
This commit is contained in:
parent
c74cdc7170
commit
8f95e65e5d
1 changed files with 2 additions and 3 deletions
|
|
@ -150,9 +150,8 @@ specific C type of the *self* object.
|
||||||
The :attr:`ml_flags` field is a bitfield which can include the following flags.
|
The :attr:`ml_flags` field is a bitfield which can include the following flags.
|
||||||
The individual flags indicate either a calling convention or a binding
|
The individual flags indicate either a calling convention or a binding
|
||||||
convention. Of the calling convention flags, only :const:`METH_VARARGS` and
|
convention. Of the calling convention flags, only :const:`METH_VARARGS` and
|
||||||
:const:`METH_KEYWORDS` can be combined (but note that :const:`METH_KEYWORDS`
|
:const:`METH_KEYWORDS` can be combined. Any of the calling convention flags
|
||||||
alone is equivalent to ``METH_VARARGS | METH_KEYWORDS``). Any of the calling
|
can be combined with a binding flag.
|
||||||
convention flags can be combined with a binding flag.
|
|
||||||
|
|
||||||
|
|
||||||
.. data:: METH_VARARGS
|
.. data:: METH_VARARGS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue