mirror of https://github.com/python/cpython
added PyErr_SetInterrupt()
This commit is contained in:
parent
e23e1fbaa6
commit
575d561c65
|
@ -124,6 +124,12 @@ intrcheck()
|
||||||
|
|
||||||
static int interrupted;
|
static int interrupted;
|
||||||
|
|
||||||
|
void
|
||||||
|
PyErr_SetInterrupt()
|
||||||
|
{
|
||||||
|
interrupted = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* ARGSUSED */
|
/* ARGSUSED */
|
||||||
static RETSIGTYPE
|
static RETSIGTYPE
|
||||||
#ifdef _M_IX86
|
#ifdef _M_IX86
|
||||||
|
|
Loading…
Reference in New Issue