summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2024-10-17 17:05:45 -0400
committerKyleMiles <krm504@nyu.edu>2024-11-03 10:36:12 -0500
commit99b7354eadc4ff00820ae1c2030fa426c0d8debb (patch)
treead5930db99e24d61b6dfc7bda6771a3dfa0b2d63 /python
parentb37d3a0469811ff81d302a8cd745241bd2ebc93a (diff)
Update type hints for BaseILInstruction.add_subgraph
Diffstat (limited to 'python')
-rw-r--r--python/commonil.py2
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)