diff options
| author | KyleMiles <krm504@nyu.edu> | 2024-10-17 17:05:45 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2024-11-03 10:36:12 -0500 |
| commit | 99b7354eadc4ff00820ae1c2030fa426c0d8debb (patch) | |
| tree | ad5930db99e24d61b6dfc7bda6771a3dfa0b2d63 /python | |
| parent | b37d3a0469811ff81d302a8cd745241bd2ebc93a (diff) | |
Update type hints for BaseILInstruction.add_subgraph
Diffstat (limited to 'python')
| -rw-r--r-- | python/commonil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/commonil.py b/python/commonil.py index a98995ce..b665165d 100644 --- a/python/commonil.py +++ b/python/commonil.py @@ -44,7 +44,7 @@ class BaseILInstruction: parent.prepend_parent(graph, parent_node, nodes) @classmethod - def add_subgraph(cls, graph, nodes): + def add_subgraph(cls, graph: FlowGraph, nodes) -> FlowGraph: node = FlowGraphNode(graph) node.lines = [f"{cls.__name__}"] graph.append(node) |
