From dcb4233fd03744c98a42a55bd89a46fab78bb712 Mon Sep 17 00:00:00 2001 From: arza Date: Mon, 4 Dec 2023 18:43:18 +0200 Subject: Fix docstrings --- qutebrowser/utils/message.py | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf