diff options
author | Martin Panter <vadmium+py@gmail.com> | 2017-01-11 11:41:03 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-11 11:41:03 (GMT) |
commit | 9da31f7274472903a32407a4e8227d1f295672a6 (patch) | |
tree | 5f13a6e47bd56c4ba064ffc70d8530ab0c654c52 /Doc/c-api | |
parent | 8a17995589cb6e2d05add133130c9d7a94e74245 (diff) | |
download | cpython-9da31f7274472903a32407a4e8227d1f295672a6.zip cpython-9da31f7274472903a32407a4e8227d1f295672a6.tar.gz cpython-9da31f7274472903a32407a4e8227d1f295672a6.tar.bz2 |
Issue #15657: METH_KEYWORDS cannot be used alone in Python 3
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/structures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 3e8a90c..f481193 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`. |