diff options
Diffstat (limited to 'qutebrowser/utils')
-rw-r--r-- | qutebrowser/utils/log.py | 4 | ||||
-rw-r--r-- | qutebrowser/utils/message.py | 2 | ||||
-rw-r--r-- | qutebrowser/utils/urlutils.py | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 9cd07e2e3..54ca4029b 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -381,8 +381,8 @@ def qt_message_handler(msg_type: QtCore.QtMsgType, """Qt message handler to redirect qWarning etc. to the logging system. Args: - QtMsgType msg_type: The level of the message. - QMessageLogContext context: The source code location of the message. + msg_type: The level of the message. + context: The source code location of the message. msg: The message text. """ # Mapping from Qt logging levels to the matching logging module levels. diff --git a/qutebrowser/utils/message.py b/qutebrowser/utils/message.py index 98e7d1c11..c490aa4e8 100644 --- a/qutebrowser/utils/message.py +++ b/qutebrowser/utils/message.py @@ -140,7 +140,7 @@ def ask_async(title: str, """Ask an async question in the statusbar. Args: - message: The message to display to the user. + title: The message to display to the user. mode: A PromptMode. handler: The function to get called with the answer as argument. default: The default value to display. diff --git a/qutebrowser/utils/urlutils.py b/qutebrowser/utils/urlutils.py index 68520a706..cfba2c1d8 100644 --- a/qutebrowser/utils/urlutils.py +++ b/qutebrowser/utils/urlutils.py @@ -329,6 +329,7 @@ def invalid_url_error(url: QUrl, action: str) -> None: """Display an error message for a URL. Args: + url: The URL to display a message for. action: The action which was interrupted by the error. """ if url.isValid(): |