From 4b0fd9a6cec03111c9ce444f1417f461b1840782 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Fri, 14 Oct 2022 12:15:30 -0400 Subject: Fix some minor bugs in BasicBlock and highlight API --- python/function.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index d093c076..b60776e2 100644 --- a/python/function.py +++ b/python/function.py @@ -3465,8 +3465,8 @@ class DisassemblyTextLine: il_instruction: Optional[ILInstructionType] def __init__( - self, tokens: List['InstructionTextToken'], address: int = None, il_instr: ILInstructionType = None, - color: Union['_highlight.HighlightColor', HighlightStandardColor] = None + self, tokens: List['InstructionTextToken'], address: Optional[int] = None, il_instr: Optional[ILInstructionType] = None, + color: Optional[Union['_highlight.HighlightColor', HighlightStandardColor]] = None ): self.address = address self.tokens = tokens -- cgit v1.3.1