take into account the fact that SETUP_WITH pushes a finally block

This commit is contained in:
Benjamin Peterson 2009-05-25 20:12:57 +00:00
parent 1880d8b823
commit 49a6b0ef70
1 changed files with 1 additions and 1 deletions

View File

@ -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: