summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 177409a..c71563f 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1256,6 +1256,8 @@ stack_effect(int opcode, int oparg, int jump)
return 1;
case BINARY_OP:
return -1;
+ case INTERPRETER_EXIT:
+ return -1;
default:
return PY_INVALID_STACK_EFFECT;
}