Skip to content

Commit 4079985

Browse files
committed
Fix type annotation
1 parent 4d1e295 commit 4079985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/cases_generator/flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __post_init__(self) -> None:
9898
self.bitmask = {name: (1 << i) for i, name in enumerate(self.names())}
9999

100100
@staticmethod
101-
def fromInstruction(instr: parsing.Node) -> "InstructionFlags":
101+
def fromInstruction(instr: parsing.InstDef) -> "InstructionFlags":
102102
has_free = (
103103
variable_used(instr, "PyCell_New")
104104
or variable_used(instr, "PyCell_GET")

0 commit comments

Comments
 (0)