From ae4d5153b923ead3a5724c5bcc60c5cde882f7b3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 4 Oct 2017 06:45:27 +0200 Subject: [PATCH] Add missing docstring --- qutebrowser/misc/keyhintwidget.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/misc/keyhintwidget.py b/qutebrowser/misc/keyhintwidget.py index 5626ce4ae..ce1f324e4 100644 --- a/qutebrowser/misc/keyhintwidget.py +++ b/qutebrowser/misc/keyhintwidget.py @@ -98,6 +98,7 @@ class KeyHintView(QLabel): for glob in config.val.keyhint.blacklist) def takes_count(cmdstr): + """Return true iff this command can take a count argument.""" cmdname = cmdstr.split(' ')[0] cmd = cmdutils.cmd_dict.get(cmdname) return cmd and cmd.takes_count()