diff options
author | Guido van Rossum <guido@python.org> | 1997-04-29 20:08:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-29 20:08:16 (GMT) |
commit | 79f25d9a7b853a9f491a0cfe4b81eeb9e2d19569 (patch) | |
tree | 5e456453855bd2906af42f998d70f17e8b834cba /Python/sigcheck.c | |
parent | 65bf9f265e4052c3eee95cd73f8de66bc92e53bf (diff) | |
download | cpython-79f25d9a7b853a9f491a0cfe4b81eeb9e2d19569.zip cpython-79f25d9a7b853a9f491a0cfe4b81eeb9e2d19569.tar.gz cpython-79f25d9a7b853a9f491a0cfe4b81eeb9e2d19569.tar.bz2 |
Quickly renamed the remaining files -- this directory is done.
Diffstat (limited to 'Python/sigcheck.c')
-rw-r--r-- | Python/sigcheck.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Python/sigcheck.c b/Python/sigcheck.c index a0f8179..81785ef 100644 --- a/Python/sigcheck.c +++ b/Python/sigcheck.c @@ -36,15 +36,14 @@ PERFORMANCE OF THIS SOFTWARE. overridden (at link time) by a more powerful version implemented in signalmodule.c. */ -#include "allobjects.h" -#include "intrcheck.h" +#include "Python.h" /* ARGSUSED */ int -sigcheck() +PyErr_CheckSignals() { - if (!intrcheck()) + if (!PyOS_InterruptOccurred()) return 0; - err_set(KeyboardInterrupt); + PyErr_SetNone(PyExc_KeyboardInterrupt); return -1; } |