mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Quickly renamed the remaining files -- this directory is done.
This commit is contained in:
parent
65bf9f265e
commit
79f25d9a7b
10 changed files with 1832 additions and 1746 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue