[Python-checkins] cpython (2.7): Issue #15657: Delete incorrect statement from PyMethodDef documentation

berker.peksag python-checkins at python.org
Sun Jun 12 09:37:48 EDT 2016


https://hg.python.org/cpython/rev/f520ae3b537b
changeset: 101951:f520ae3b537b
branch: 2.7
parent: 101945:688edc946ab9
user: Berker Peksag <berker.peksag at gmail.com>
date: Sun Jun 12 16:37:57 2016 +0300
summary:
 Issue #15657: Delete incorrect statement from PyMethodDef documentation
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
@@ -159,9 +159,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

AltStyle によって変換されたページ (->オリジナル) /