added PyErr_SetInterrupt()

This commit is contained in:
Guido van Rossum 1995-03-10 15:13:03 +00:00
parent e23e1fbaa6
commit 575d561c65
1 changed files with 6 additions and 0 deletions

View File

@ -124,6 +124,12 @@ intrcheck()
static int interrupted;
void
PyErr_SetInterrupt()
{
interrupted = 1;
}
/* ARGSUSED */
static RETSIGTYPE
#ifdef _M_IX86