We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1e295 commit b5737c8Copy full SHA for b5737c8
Tools/cases_generator/flags.py
@@ -51,7 +51,7 @@
51
)
52
53
54
-def makes_escaping_api_call(instr: parsing.Node) -> bool:
+def makes_escaping_api_call(instr: parsing.InstDef) -> bool:
55
if "CALL_INTRINSIC" in instr.name:
56
return True;
57
tkns = iter(instr.tokens)
@@ -98,7 +98,7 @@ def __post_init__(self) -> None:
98
self.bitmask = {name: (1 << i) for i, name in enumerate(self.names())}
99
100
@staticmethod
101
- def fromInstruction(instr: parsing.Node) -> "InstructionFlags":
+ def fromInstruction(instr: parsing.InstDef) -> "InstructionFlags":
102
has_free = (
103
variable_used(instr, "PyCell_New")
104
or variable_used(instr, "PyCell_GET")
0 commit comments