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 2e0b172 commit 0c254cfCopy full SHA for 0c254cf
1 file changed
Doc/c-api/function.rst
@@ -118,14 +118,18 @@ There are a few functions specific to Python functions.
118
119
.. c:function:: PyObject* PyFunction_GetKwDefaults(PyObject *op)
120
121
- Return the keyword-argument default values of the function object *op*. This can be a
122
- tuple of arguments or ``NULL``.
+ Return the keyword-only argument default values of the function object *op*. This can be a
+ dictionary of arguments or ``NULL``.
123
+
124
+ .. versionadded:: 3.0
125
126
127
.. c:function:: PyObject *PyFunction_GET_KW_DEFAULTS(PyObject *op)
128
129
Equivalent to :c:func:`PyFunction_GetKwDefaults`, but without error checking.
130
131
132
133
134
.. c:function:: PyObject* PyFunction_GetClosure(PyObject *op)
135
0 commit comments