summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-19 15:53:17 (GMT)
committerGuido van Rossum <guido@python.org>2003-02-19 15:53:17 (GMT)
commit6297a7a9fbf7675bf23a9b5aa822ed5aaec19647 (patch)
tree39464e145aa29a7b507fb3b9f080841e3f8f00e0 /Modules/signalmodule.c
parent162e38c6a312aa3e9c353419301087a4620c513c (diff)
downloadcpython-6297a7a9fbf7675bf23a9b5aa822ed5aaec19647.zip
cpython-6297a7a9fbf7675bf23a9b5aa822ed5aaec19647.tar.gz
cpython-6297a7a9fbf7675bf23a9b5aa822ed5aaec19647.tar.bz2
- PyEval_GetFrame() is now declared to return a PyFrameObject *
instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 0f9574f..2224ec9 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -766,7 +766,7 @@ PyErr_CheckSignals(void)
if (PyThread_get_thread_ident() != main_thread)
return 0;
#endif
- if (!(f = PyEval_GetFrame()))
+ if (!(f = (PyObject *)PyEval_GetFrame()))
f = Py_None;
for (i = 1; i < NSIG; i++) {