diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-05-06 00:25:41 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-05-06 00:25:41 -0400 |
| commit | bfeba3302e995fdba373603533fce54bf788adff (patch) | |
| tree | 2e4aadbb53e43a7022167ecdff4e241474279e6d /python/interaction.py | |
| parent | 245ee620d94a21d5e0005bd634a10bb6163efb64 (diff) | |
many pydoc formatting cleanups, added deprecated decorator and replaced ad-hoc messages with consistent decorator
Diffstat (limited to 'python/interaction.py')
| -rw-r--r-- | python/interaction.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/python/interaction.py b/python/interaction.py index 978de6b2..ba9da5a3 100644 --- a/python/interaction.py +++ b/python/interaction.py @@ -1056,12 +1056,9 @@ def show_markdown_report(title, contents, plaintext=""): def show_html_report(title, contents, plaintext=""): """ ``show_html_report`` displays the HTML contents in UI applications and plaintext in command-line \ - applications. This API doesn't support hyperlinking into the BinaryView, use the :py:math:`BinaryView.show_html_report` \ + applications. This API doesn't support hyperlinking into the BinaryView, use the :py:meth:`BinaryView.show_html_report` \ API if hyperlinking is needed. - .. note:: This API function differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line \ - a simple text prompt is used. - :param str contents: HTML contents to display :param str plaintext: Plain text version to display (used on the command-line) :rtype: None @@ -1201,12 +1198,12 @@ def get_open_filename_input(prompt: str, ext: str = "") -> Optional[str]: """ ``get_open_filename_input`` prompts the user for a file name to open - .. note:: This API function differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line \ + .. note:: This API functions differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line \ a simple text prompt is used. The UI uses the native window pop-up for file selection. Multiple file selection groups can be included if separated by two semicolons. Multiple file wildcards may be specified by using a space within the parenthesis. - Also, a simple selector of "*.extension" by itself may also be used instead of specifying the description. + Also, a simple selector of "\*.extension" by itself may also be used instead of specifying the description. :param str prompt: Prompt to display. :param str ext: Optional, file extension |
