summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-10-14 12:15:30 -0400
committerPeter LaFosse <peter@vector35.com>2022-10-14 12:15:36 -0400
commit4b0fd9a6cec03111c9ce444f1417f461b1840782 (patch)
treec91dd300d42ee455d2f6d22cc4d1f8e02c8d87e2 /python/function.py
parent442ed0c3d4b2e504baf14d222b4cf333db1d8dc4 (diff)
Fix some minor bugs in BasicBlock and highlight API
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py4
1 files changed, 2 insertions, 2 deletions
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