Issue #15657: METH_KEYWORDS cannot be used alone in Python 3

This commit is contained in:
Martin Panter 2017-01-11 11:41:03 +00:00
parent 8a17995589
commit 9da31f7274
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ can be combined with a binding flag.
Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`.
The function expects three parameters: *self*, *args*, and a dictionary of
all the keyword arguments. The flag is typically combined with
all the keyword arguments. The flag must be combined with
:const:`METH_VARARGS`, and the parameters are typically processed using
:c:func:`PyArg_ParseTupleAndKeywords`.