diff options
author | Segev Finer <segev208@gmail.com> | 2017-05-25 11:00:18 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-05-25 11:00:18 (GMT) |
commit | 7ff1e88a57a37a4cca3af9b0a3528b703d975ea2 (patch) | |
tree | fc9c0c95b5537d2948830a2cfc8f163094f0c0d2 /Python/sigcheck.c | |
parent | 0cd7a3f196cf34d9bb0a52e61327f7fe289d9750 (diff) | |
download | cpython-7ff1e88a57a37a4cca3af9b0a3528b703d975ea2.zip cpython-7ff1e88a57a37a4cca3af9b0a3528b703d975ea2.tar.gz cpython-7ff1e88a57a37a4cca3af9b0a3528b703d975ea2.tar.bz2 |
Delete sigcheck.c since it appears unused (#1723)
Diffstat (limited to 'Python/sigcheck.c')
-rw-r--r-- | Python/sigcheck.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Python/sigcheck.c b/Python/sigcheck.c deleted file mode 100644 index 022d0e8..0000000 --- a/Python/sigcheck.c +++ /dev/null @@ -1,19 +0,0 @@ - -/* Sigcheck is similar to intrcheck() but sets an exception when an - interrupt occurs. It can't be in the intrcheck.c file since that - file (and the whole directory it is in) doesn't know about objects - or exceptions. It can't be in errors.c because it can be - overridden (at link time) by a more powerful version implemented in - signalmodule.c. */ - -#include "Python.h" - -/* ARGSUSED */ -int -PyErr_CheckSignals(void) -{ - if (!PyOS_InterruptOccurred()) - return 0; - PyErr_SetNone(PyExc_KeyboardInterrupt); - return -1; -} |