Issue #29292: Update outdated doc of PyEval_EvalCodeEx.

Patch by Ammar Askar.
This commit is contained in:
Xiang Zhang 2017-01-20 11:29:11 +08:00
parent 57720e5e37
commit 6ad85bf89a
1 changed files with 3 additions and 2 deletions

View File

@ -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