diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 2529655ccc6..dd53a1acc26 100644 --- a/Parser/intrcheck.c +++ b/Parser/intrcheck.c @@ -124,6 +124,12 @@ intrcheck() static int interrupted; +void +PyErr_SetInterrupt() +{ + interrupted = 1; +} + /* ARGSUSED */ static RETSIGTYPE #ifdef _M_IX86