From 9e1de1b3dda78250012f4e03963e4d8916a8c8cd Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 29 Feb 2024 13:21:16 -0500 Subject: link from traverse APIs to examples --- python/mediumlevelil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/mediumlevelil.py') diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 412d3c19..05eeb449 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -430,7 +430,7 @@ class MediumLevelILInstruction(BaseILInstruction): """ ``traverse`` is a generator that allows you to traverse the MediumLevelILInstruction in a depth-first manner. It will yield the result of the callback function for each node in the tree. Arguments can be passed to the callback function using - ``args`` and ``kwargs``. + ``args`` and ``kwargs``. See the `Developer Docs `_ for more examples. :param Callable[[MediumLevelILInstruction, Any], Any] cb: The callback function to call for each node in the MediumLevelILInstruction :param Any args: Custom user-defined arguments @@ -3206,7 +3206,7 @@ class MediumLevelILFunction: def traverse(self, cb: Callable[['MediumLevelILInstruction', Any], Any], *args: Any, **kwargs: Any) -> Iterator[Any]: """ ``traverse`` iterates through all the instructions in the MediumLevelILInstruction and calls the callback function for - each instruction and sub-instruction. + each instruction and sub-instruction. See the `Developer Docs `_ for more examples. :param Callable[[MediumLevelILInstruction, Any], Any] cb: Callback function that takes a HighLevelILInstruction and returns a value :param Any args: Custom user-defined arguments -- cgit v1.3.1