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

Commit 6ad85bf

Browse files
committed
Issue python#29292: Update outdated doc of PyEval_EvalCodeEx.
Patch by Ammar Askar.
1 parent 57720e5 commit 6ad85bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/c-api/veryhigh.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,13 @@ the same library that the Python runtime is using.
300300
set to *NULL*.
301301
302302
303-
.. c:function:: PyObject* PyEval_EvalCodeEx(PyObject *co, PyObject *globals, PyObject *locals, PyObject **args, int argcount, PyObject **kws, int kwcount, PyObject **defs, int defcount, PyObject *closure)
303+
.. c:function:: PyObject* PyEval_EvalCodeEx(PyObject *co, PyObject *globals, PyObject *locals, PyObject **args, int argcount, PyObject **kws, int kwcount, PyObject **defs, int defcount, PyObject *kwdefs, PyObject *closure)
304304
305305
Evaluate a precompiled code object, given a particular environment for its
306306
evaluation. This environment consists of a dictionary of global variables,
307307
a mapping object of local variables, arrays of arguments, keywords and
308-
defaults, and a closure tuple of cells.
308+
defaults, a dictionary of default values for :ref:`keyword-only\
309+
<keyword-only_parameter>` arguments and a closure tuple of cells.
309310
310311
311312
.. c:type:: PyFrameObject

0 commit comments

Comments
 (0)