[Python-checkins] cpython (3.5): Issue #29292: Update outdated doc of PyEval_EvalCodeEx.
xiang.zhang
python-checkins at python.org
Thu Jan 19 22:34:44 EST 2017
https://hg.python.org/cpython/rev/bb76ea32a32f
changeset: 106240:bb76ea32a32f
branch: 3.5
parent: 106237:91f0617053e7
user: Xiang Zhang <angwerzx at 126.com>
date: Fri Jan 20 11:29:11 2017 +0800
summary:
Issue #29292: Update outdated doc of PyEval_EvalCodeEx.
Patch by Ammar Askar.
files:
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
--- a/Doc/c-api/veryhigh.rst
+++ b/Doc/c-api/veryhigh.rst
@@ -300,12 +300,13 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list