mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
added PyErr_SetInterrupt()
This commit is contained in:
parent
e23e1fbaa6
commit
575d561c65
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue