diff options
author | 2021-01-23 20:53:31 +0200 | |
---|---|---|
committer | 2021-01-23 20:53:31 +0200 | |
commit | e25079610b43dfa2d96dc0261254184f79edc611 (patch) | |
tree | 5caa15271108dbd0816cfbcf204e9d74e9d4ae98 | |
parent | Backed out changes from rpython-never-allocate since it is not ready yet (diff) | |
download | pypy-e25079610b43dfa2d96dc0261254184f79edc611.tar.gz pypy-e25079610b43dfa2d96dc0261254184f79edc611.tar.bz2 pypy-e25079610b43dfa2d96dc0261254184f79edc611.zip |
Fix signature of PyEval_EvalCode
-rw-r--r-- | pypy/module/cpyext/eval.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py index a9bb200094..5e16133b94 100644 --- a/pypy/module/cpyext/eval.py +++ b/pypy/module/cpyext/eval.py @@ -64,7 +64,7 @@ def PyEval_GetFrame(space): caller = space.getexecutioncontext().gettopframe_nohidden() return caller # borrowed ref, may be null -@cpython_api([PyCodeObject, PyObject, PyObject], PyObject) +@cpython_api([PyObject, PyObject, PyObject], PyObject) def PyEval_EvalCode(space, w_code, w_globals, w_locals): """This is a simplified interface to PyEval_EvalCodeEx(), with just the code object, and the dictionaries of global and local variables. |