From 4f2874173637835f4da74e919658d8edc90448fe Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 1 Sep 2022 08:43:00 -0400 Subject: Fix misspell in rebase and its type hints --- python/binaryview.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python') 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: -- cgit v1.3.1