diff options
author | Xiang Zhang <angwerzx@126.com> | 2017-01-20 03:29:11 (GMT) |
---|---|---|
committer | Xiang Zhang <angwerzx@126.com> | 2017-01-20 03:29:11 (GMT) |
commit | 6ad85bf89a0524637a89f2950468d2630929fdb2 (patch) | |
tree | b1a2e21fcb8ef218854c38aa088756d0d7cab1b6 /Doc/c-api/veryhigh.rst | |
parent | 57720e5e371f22f7de0f5abf4424df6c80966da7 (diff) | |
download | cpython-6ad85bf89a0524637a89f2950468d2630929fdb2.zip cpython-6ad85bf89a0524637a89f2950468d2630929fdb2.tar.gz cpython-6ad85bf89a0524637a89f2950468d2630929fdb2.tar.bz2 |
Issue #29292: Update outdated doc of PyEval_EvalCodeEx.
Patch by Ammar Askar.
Diffstat (limited to 'Doc/c-api/veryhigh.rst')
-rw-r--r-- | Doc/c-api/veryhigh.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst index d0ceb05..6ab5942 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 |