summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
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)