Skip to content

Commit

Permalink
add TO_BOOL instruction stack effect computation
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Aug 7, 2024
1 parent c30d5de commit f76abe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bytecode/instr.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ def opcode_has_argument(opcode: int) -> bool:
"CONVERT_VALUE": (-1, 1), # new in 3.13
"FORMAT_SIMPLE": (-1, 1), # new in 3.13
"FORMAT_SPEC": (-2, 1), # new in 3.13
"TO_BOOL": (-1, 1), # new in 3.13
}


Expand Down

0 comments on commit f76abe0

Please sign in to comment.