diff options
author | Guido van Rossum <guido@python.org> | 1995-03-10 15:13:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-10 15:13:03 (GMT) |
commit | 575d561c65877aca7c1d0a2c5a2d77799f953798 (patch) | |
tree | 24ddf35a9f5d0dbb8a9b2dc2d8f664a1fcdecb1c /Parser | |
parent | e23e1fbaa67fbca3ea34ff39535833c35701591a (diff) | |
download | cpython-575d561c65877aca7c1d0a2c5a2d77799f953798.zip cpython-575d561c65877aca7c1d0a2c5a2d77799f953798.tar.gz cpython-575d561c65877aca7c1d0a2c5a2d77799f953798.tar.bz2 |
added PyErr_SetInterrupt()
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/intrcheck.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 2529655..dd53a1a 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 |