From 3579caf1ff0d7cf2701317a9f7a0d12acad07b41 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 11 Dec 2014 21:17:22 +0100 Subject: [PATCH] Make mode a kwarg-only argument for :bind. --- qutebrowser/config/keyconfparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config/keyconfparser.py b/qutebrowser/config/keyconfparser.py index b4c8e3474..ca7b5ba23 100644 --- a/qutebrowser/config/keyconfparser.py +++ b/qutebrowser/config/keyconfparser.py @@ -131,7 +131,7 @@ class KeyConfigParser(QObject): f.write(data) @cmdutils.register(instance='key-config', maxsplit=1) - def bind(self, key, command, mode=None): + def bind(self, key, command, *, mode=None): """Bind a key to a command. Args: