summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-12-04 19:48:26 +0100
committerGitHub <noreply@github.com>2023-12-04 19:48:26 +0100
commit383f8a2e8258ab41c4d2285e940ea1d975d0d8e6 (patch)
tree602a3b3b782e9a13d7924b7e91e23383204353bf
parent21c7699eaced839b4645dabfbef05a7ff7f2de36 (diff)
parentdcb4233fd03744c98a42a55bd89a46fab78bb712 (diff)
downloadqutebrowser-383f8a2e8258ab41c4d2285e940ea1d975d0d8e6.tar.gz
qutebrowser-383f8a2e8258ab41c4d2285e940ea1d975d0d8e6.zip
Merge pull request #8016 from arza-zara/docstrings
Fix docstrings
-rw-r--r--qutebrowser/utils/message.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/utils/message.py b/qutebrowser/utils/message.py
index 043e2d5ec..275ed2f3d 100644
--- a/qutebrowser/utils/message.py
+++ b/qutebrowser/utils/message.py
@@ -135,7 +135,7 @@ def ask(*args: Any, **kwargs: Any) -> Any:
"""Ask a modular question in the statusbar (blocking).
Args:
- message: The message to display to the user.
+ title: The message to display to the user.
mode: A PromptMode.
default: The default value to display.
text: Additional text to show
@@ -182,7 +182,7 @@ def confirm_async(*, yes_action: _ActionType,
"""Ask a yes/no question to the user and execute the given actions.
Args:
- message: The message to display to the user.
+ title: The message to display to the user.
yes_action: Callable to be called when the user answered yes.
no_action: Callable to be called when the user answered no.
cancel_action: Callable to be called when the user cancelled the