Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b66723

Browse files
committed
Issue #15657: Delete incorrect statement from PyMethodDef documentation
Patch by Berker Peksag.
1 parent 2427d00 commit 5b66723

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/c-api/structures.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,8 @@ specific C type of the *self* object.
150150
The :attr:`ml_flags` field is a bitfield which can include the following flags.
151151
The individual flags indicate either a calling convention or a binding
152152
convention. Of the calling convention flags, only :const:`METH_VARARGS` and
153-
:const:`METH_KEYWORDS` can be combined (but note that :const:`METH_KEYWORDS`
154-
alone is equivalent to ``METH_VARARGS | METH_KEYWORDS``). Any of the calling
155-
convention flags can be combined with a binding flag.
153+
:const:`METH_KEYWORDS` can be combined. Any of the calling convention flags
154+
can be combined with a binding flag.
156155

157156

158157
.. data:: METH_VARARGS

0 commit comments

Comments
 (0)