From 575d561c65877aca7c1d0a2c5a2d77799f953798 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Mar 1995 15:13:03 +0000 Subject: [PATCH] added PyErr_SetInterrupt() --- Parser/intrcheck.c | 6 ++++++ 1 file changed, 6 insertions(+) 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