Skip to content

Commit e14338e

Browse files
committed
fix warning for (m/l)lilfunction translate docs
1 parent 911cca5 commit e14338e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/lowlevelil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4155,8 +4155,8 @@ def translate(
41554155
:param expr_handler: Function to modify an expression and copy it to the new function.
41564156
The function should have the following signature:
41574157
4158-
.. function:: expr_handler(new_func: LowLevelILFunction, old_block: LowLevelILBasicBlock, old_instr: LowLevelILInstruction) -> ExpressionIndex
4159-
4158+
expr_handler(new_func: LowLevelILFunction, old_block: LowLevelILBasicBlock, old_instr: LowLevelILInstruction) -> ExpressionIndex
4159+
41604160
Where:
41614161
- **new_func** (*LowLevelILFunction*): New function to receive translated instructions
41624162
- **old_block** (*LowLevelILBasicBlock*): Original block containing old_instr

python/mediumlevelil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3957,7 +3957,7 @@ def translate(
39573957
:param expr_handler: Function to modify an expression and copy it to the new function.
39583958
The function should have the following signature:
39593959
3960-
.. function:: expr_handler(new_func: MediumLevelILFunction, old_block: MediumLevelILBasicBlock, old_instr: MediumLevelILInstruction) -> ExpressionIndex
3960+
expr_handler(new_func: MediumLevelILFunction, old_block: MediumLevelILBasicBlock, old_instr: MediumLevelILInstruction) -> ExpressionIndex
39613961
39623962
Where:
39633963
- **new_func** (*MediumLevelILFunction*): New function to receive translated instructions

0 commit comments

Comments
 (0)