mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Issue #15657: METH_KEYWORDS cannot be used alone in Python 3
This commit is contained in:
parent
8a17995589
commit
9da31f7274
1 changed files with 1 additions and 1 deletions
|
|
@ -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`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue