[Python-checkins] cpython (3.6): Issue #15657: Delete incorrect statement from PyMethodDef documentation
martin.panter
python-checkins at python.org
Wed Jan 11 07:26:22 EST 2017
https://hg.python.org/cpython/rev/c140e72492a4
changeset: 106087:c140e72492a4
branch: 3.6
parent: 106079:aabb9360ff93
user: Martin Panter <vadmium+py at gmail.com>
date: Wed Jan 11 11:50:06 2017 +0000
summary:
Issue #15657: Delete incorrect statement from PyMethodDef documentation
Patch by Berker Peksag.
files:
Doc/c-api/structures.rst | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -150,9 +150,8 @@
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
convention. Of the calling convention flags, only :const:`METH_VARARGS` and
-:const:`METH_KEYWORDS` can be combined (but note that :const:`METH_KEYWORDS`
-alone is equivalent to ``METH_VARARGS | METH_KEYWORDS``). Any of the calling
-convention flags can be combined with a binding flag.
+:const:`METH_KEYWORDS` can be combined. Any of the calling convention flags
+can be combined with a binding flag.
.. data:: METH_VARARGS
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list