mirror of
https://github.com/python/cpython.git
synced 2026-05-19 02:44:16 -04:00
take into account the fact that SETUP_WITH pushes a finally block
This commit is contained in:
+1
-1
@@ -779,7 +779,7 @@ opcode_stack_effect(int opcode, int oparg)
|
||||
case BREAK_LOOP:
|
||||
return 0;
|
||||
case SETUP_WITH:
|
||||
return 1;
|
||||
return 4;
|
||||
case WITH_CLEANUP:
|
||||
return -1; /* XXX Sometimes more */
|
||||
case LOAD_LOCALS:
|
||||
|
||||
Reference in New Issue
Block a user