summaryrefslogtreecommitdiff
path: root/Doc/c-api
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-20 11:29:11 +0800
committerXiang Zhang <angwerzx@126.com>2017-01-20 11:29:11 +0800
commit6ad85bf89a0524637a89f2950468d2630929fdb2 (patch)
treeb1a2e21fcb8ef218854c38aa088756d0d7cab1b6 /Doc/c-api
parent57720e5e371f22f7de0f5abf4424df6c80966da7 (diff)
downloadcpython-git-6ad85bf89a0524637a89f2950468d2630929fdb2.tar.gz
Issue #29292: Update outdated doc of PyEval_EvalCodeEx.
Patch by Ammar Askar.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/veryhigh.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst
index d0ceb05322..6ab5942929 100644
--- a/Doc/c-api/veryhigh.rst
+++ b/Doc/c-api/veryhigh.rst
@@ -300,12 +300,13 @@ the same library that the Python runtime is using.
set to *NULL*.
-.. 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)
+.. 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)
Evaluate a precompiled code object, given a particular environment for its
evaluation. This environment consists of a dictionary of global variables,
a mapping object of local variables, arrays of arguments, keywords and
- defaults, and a closure tuple of cells.
+ defaults, a dictionary of default values for :ref:`keyword-only\
+ <keyword-only_parameter>` arguments and a closure tuple of cells.
.. c:type:: PyFrameObject