From ab38220c60d59f7bc164c76bde72201746a53da9 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 18 Feb 2021 14:31:49 -0500 Subject: fix syntax error in pydoc warnings --- python/binaryview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index cbfc47ef..f6c05b81 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -235,7 +235,7 @@ class AnalysisCompletionEvent(object): """ The ``cancel`` method will cancel analysis for an :class:`AnalysisCompletionEvent`. - .. warning: This method should only be used when the system is being shut down and no further analysis should be done afterward. + .. warning:: This method should only be used when the system is being shut down and no further analysis should be done afterward. """ self.callback = self._empty_callback @@ -3026,7 +3026,7 @@ class BinaryView(object): """ ``remove_function`` removes the function ``func`` from the list of functions - .. warning: This method should only be used when the function that is removed is expected to re-appear after any other analysis executes that could re-add it. Most users will want to use :func:`remove_user_function` in their scripts. + .. warning:: This method should only be used when the function that is removed is expected to re-appear after any other analysis executes that could re-add it. Most users will want to use :func:`remove_user_function` in their scripts. :param Function func: a Function object. :rtype: None @@ -4626,7 +4626,7 @@ class BinaryView(object): The callee of this function is not responsible for maintaining the lifetime of the returned AnalysisCompletionEvent object. - .. warning: The built-in python console automatically updates analysis after every command is run, which means this call back may not behave as expected if entered interactively. + .. warning:: The built-in python console automatically updates analysis after every command is run, which means this call back may not behave as expected if entered interactively. :param callback callback: A function to be called with no parameters when analysis has completed. :return: An initialized AnalysisCompletionEvent object. -- cgit v1.3.1