mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
- PyEval_GetFrame() is now declared to return a PyFrameObject *
instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
This commit is contained in:
parent
162e38c6a3
commit
6297a7a9fb
6 changed files with 19 additions and 12 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue