summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-09-01 08:43:00 -0400
committerPeter LaFosse <peter@vector35.com>2022-09-07 09:56:25 -0400
commit4f2874173637835f4da74e919658d8edc90448fe (patch)
tree3ff8cd5612e38ddaf9e8605aec0237644c9f0259 /python/binaryview.py
parent7002a34d9e43b5ec9e06acf8db6b7565c7e9d336 (diff)
Fix misspell in rebase and its type hints
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index aa570de5..278cbecd 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -7166,12 +7166,12 @@ class BinaryView:
return None
return _workflow.Workflow(handle=handle)
- def rebase(self, address: int, force: bool = False,
- progress_func: ProgressFuncType = None) -> Optional['BinaryView']:
+ def rebase(self, address: int, force: Optional[bool] = False,
+ progress_func: Optional[ProgressFuncType] = None) -> Optional['BinaryView']:
"""
``rebase`` rebase the existing :py:class:`BinaryView` into a new :py:class:`BinaryView` at the specified virtual address
- .. note:: This method does not update cooresponding UI components. If the `BinaryView` is associated with \
+ .. note:: This method does not update corresponding UI components. If the `BinaryView` is associated with \
UI components then initiate the rebase operation within the UI, e.g. using the command palette. If working with views that \
are not associated with UI components while the UI is active, then set ``force`` to ``True`` to enable rebasing.
@@ -7183,7 +7183,7 @@ class BinaryView:
result = False
if core.BNIsUIEnabled() and not force:
log_warn(
- "The BinaryView rebase API does not update cooresponding UI components. If the BinaryView is not associated with the UI rerun with 'force = True'."
+ "The BinaryView rebase API does not update corresponding UI components. If the BinaryView is not associated with the UI rerun with 'force = True'."
)
return None
if progress_func is None: