Skip to content

Commit afc989c

Browse files
fix typing
1 parent 6021f6b commit afc989c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/bytecode/instr.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@
6969
else ({_opcode.opmap["CONVERT_VALUE"]} if PY313 else set())
7070
)
7171

72-
HASJABS = set() if PY313 else set(_opcode.hasjabs)
73-
if sys.version_info >= (3, 13):
74-
HASJREL = set(_opcode.hasjump)
75-
else:
76-
HASJREL = set(_opcode.hasjrel)
7772

7873
HAS_ABSOLUTE_JUMP: Final[set[int]] = set() if PY313 else set(_opcode.hasjabs)
7974

@@ -481,7 +476,7 @@ def opcode_has_argument(opcode: int) -> bool:
481476

482477

483478
DYNAMIC_STACK_EFFECTS: Final[
484-
dict[str, Callable[[int, Any, Optional[bool]], tuple[int, int]]]
479+
dict[int, Callable[[int, Any, Optional[bool]], tuple[int, int]]]
485480
] = {
486481
_opcode.opmap[k]: v
487482
for k, v in {

0 commit comments

Comments
 (0)