]> granicus.if.org Git - python/commitdiff
Issue #15657: METH_KEYWORDS cannot be used alone in Python 3
authorMartin Panter <vadmium+py@gmail.com>
Wed, 11 Jan 2017 11:41:03 +0000 (11:41 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 11 Jan 2017 11:41:03 +0000 (11:41 +0000)
Doc/c-api/structures.rst

index 3e8a90cb7cb8f70e817b211154136d8b4f0ce886..f48119391f2bbd9ac8fd13713efceae14255c851 100644 (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`.