summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarza <arza@arza.us>2023-12-04 18:43:18 +0200
committerarza <arza@arza.us>2023-12-04 18:43:18 +0200
commitdcb4233fd03744c98a42a55bd89a46fab78bb712 (patch)
tree602a3b3b782e9a13d7924b7e91e23383204353bf
parent21c7699eaced839b4645dabfbef05a7ff7f2de36 (diff)
downloadqutebrowser-dcb4233fd03744c98a42a55bd89a46fab78bb712.tar.gz
qutebrowser-dcb4233fd03744c98a42a55bd89a46fab78bb712.zip
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