Skip to content

Commit b3daaaa

Browse files
fix small formatting issue
1 parent 149a406 commit b3daaaa

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/bytecode/instr.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,14 @@ def opcode_has_argument(opcode: int) -> bool:
337337
"CHECK_EG_MATCH": (-2, 2), # (TOS, TOS1) -> non-matched, matched or TOS1, None)
338338
"PREP_RERAISE_STAR": (-2, 1), # (TOS1, TOS) -> new exception group)
339339
**dict.fromkeys((o for o in _opcode.opmap if o.startswith("UNARY_")), (-1, 1)),
340-
**dict.fromkeys((o for o in _opcode.opmap if o.startswith("BINARY_") or o.startswith("INPLACE_")), (-2, 1)),
340+
**dict.fromkeys(
341+
(
342+
o
343+
for o in _opcode.opmap
344+
if o.startswith("BINARY_") or o.startswith("INPLACE_")
345+
),
346+
(-2, 1),
347+
),
341348
# Python 3.12 changes not covered by dis.stack_effect
342349
"BINARY_SLICE": (-3, 1),
343350
# "STORE_SLICE" handled by dis.stack_effect

0 commit comments

Comments
 (0)