diff options
author | Martin Panter <vadmium+py@gmail.com> | 2017-01-11 11:50:06 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-11 11:50:06 (GMT) |
commit | 5b66723b0be684bc27414029ea3570c2400580f2 (patch) | |
tree | a53687fee31a40cd29dbddcf8cc6245c319be24b | |
parent | 2427d0029824a1ef21b822b529f84eaee57acaf4 (diff) | |
download | cpython-5b66723b0be684bc27414029ea3570c2400580f2.zip cpython-5b66723b0be684bc27414029ea3570c2400580f2.tar.gz cpython-5b66723b0be684bc27414029ea3570c2400580f2.tar.bz2 |
Issue #15657: Delete incorrect statement from PyMethodDef documentation
Patch by Berker Peksag.
-rw-r--r-- | 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 index 837ac7d..3e8a90c 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -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 |