mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +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;
|
||||
|
||||
void
|
||||
PyErr_SetInterrupt()
|
||||
{
|
||||
interrupted = 1;
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static RETSIGTYPE
|
||||
#ifdef _M_IX86
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue