We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d738de commit e4698e1Copy full SHA for e4698e1
Doc/c-api/function.rst
@@ -102,6 +102,12 @@ There are a few functions specific to Python functions.
102
dictionary of arguments or ``NULL``.
103
104
105
+.. c:function:: PyObject* PyFunction_SetKwDefaults(PyObject *op, PyObject *defaults)
106
+
107
+ Set the keyword-only argument default values of the function object *op*.
108
+ *defaults* must be a dictionary of keyword-only arguments or ``Py_None``.
109
110
111
.. c:function:: PyObject* PyFunction_GetClosure(PyObject *op)
112
113
Return the closure associated with the function object *op*. This can be ``NULL``
0 commit comments