mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
take into account the fact that SETUP_WITH pushes a finally block
This commit is contained in:
parent
1880d8b823
commit
49a6b0ef70
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue