]> granicus.if.org Git - python/commitdiff
Issue #15657: Delete incorrect statement from PyMethodDef documentation
authorMartin Panter <vadmium+py@gmail.com>
Wed, 11 Jan 2017 11:50:06 +0000 (11:50 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 11 Jan 2017 11:50:06 +0000 (11:50 +0000)
Patch by Berker Peksag.

Doc/c-api/structures.rst

index 837ac7daa5191da33bcb50573a139ab9d5382244..3e8a90cb7cb8f70e817b211154136d8b4f0ce886 100644 (file)
@@ -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 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