summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-27 15:43:12 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-27 15:43:12 (GMT)
commit8d97e33bb76c322cdb08dbf97c26d787cd3488a7 (patch)
tree541e1e94d1ea749335af5fe68a9f469d6286b62c /Objects/genobject.c
parent634893d1a38e5ffec3a86f32d80e7d986108d8ce (diff)
downloadcpython-8d97e33bb76c322cdb08dbf97c26d787cd3488a7.zip
cpython-8d97e33bb76c322cdb08dbf97c26d787cd3488a7.tar.gz
cpython-8d97e33bb76c322cdb08dbf97c26d787cd3488a7.tar.bz2
Patch #966493: Cleanup generator/eval_frame exposure.
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index a604bcb..66a5106 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -44,7 +44,7 @@ gen_iternext(PyGenObject *gen)
f->f_back = tstate->frame;
gen->gi_running = 1;
- result = PyEval_EvaluateFrame((PyObject *)f);
+ result = PyEval_EvalFrame(f);
gen->gi_running = 0;
/* Don't keep the reference to f_back any longer than necessary. It