Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 9da31f7

Browse files
committed
Issue python#15657: METH_KEYWORDS cannot be used alone in Python 3
1 parent 8a17995 commit 9da31f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/structures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ can be combined with a binding flag.
168168

169169
Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`.
170170
The function expects three parameters: *self*, *args*, and a dictionary of
171-
all the keyword arguments. The flag is typically combined with
171+
all the keyword arguments. The flag must be combined with
172172
:const:`METH_VARARGS`, and the parameters are typically processed using
173173
:c:func:`PyArg_ParseTupleAndKeywords`.
174174

0 commit comments

Comments
 (0)