From 19e2959d42898056363567fe7c068acf4686e844 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 19 Oct 2021 14:20:15 -0400 Subject: More accurate description of operand argument --- python/function.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python') diff --git a/python/function.py b/python/function.py index 9781bac1..3803930e 100644 --- a/python/function.py +++ b/python/function.py @@ -2342,8 +2342,8 @@ class Function: """ Get the current text display type for an integer token in the disassembly or IL views :param int instr_addr: Address of the instruction or IL line containing the token - :param int value: ``value`` field of the InstructionTextToken object for the token - :param int operand: ``operand`` field of the InstructionTextToken object for the token + :param int value: ``value`` field of the InstructionTextToken object for the token, usually the constant displayed + :param int operand: Operand index of the token, defined as the number of OperandSeparatorTokens in the disassembly line before the token :param Architecture arch: (optional) Architecture of the instruction or IL line containing the token """ if arch is None: @@ -2356,8 +2356,8 @@ class Function: """ Change the text display type for an integer token in the disassembly or IL views :param int instr_addr: Address of the instruction or IL line containing the token - :param int value: ``value`` field of the InstructionTextToken object for the token - :param int operand: ``operand`` field of the InstructionTextToken object for the token + :param int value: ``value`` field of the InstructionTextToken object for the token, usually the constant displayed + :param int operand: Operand index of the token, defined as the number of OperandSeparatorTokens in the disassembly line before the token :param enums.IntegerDisplayType display_type: Desired display type :param Architecture arch: (optional) Architecture of the instruction or IL line containing the token """ -- cgit v1.3.1