From 9da31f7274472903a32407a4e8227d1f295672a6 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Wed, 11 Jan 2017 11:41:03 +0000 Subject: [PATCH] Issue #15657: METH_KEYWORDS cannot be used alone in Python 3 --- Doc/c-api/structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 3e8a90cb7cb..f48119391f2 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -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`.