diff options
Diffstat (limited to 'qutebrowser/config/config.py')
-rw-r--r-- | qutebrowser/config/config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 437a54a33..e054c8010 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -195,7 +195,7 @@ class KeyConfig: See #5942. """ - cmd_to_keys: KeyConfig._ReverseBindings = {} + cmd_to_keys: "KeyConfig._ReverseBindings" = {} bindings = self.get_bindings_for(mode) for seq, full_cmd in sorted(bindings.items()): for cmdtext in full_cmd.split(';;'): @@ -387,6 +387,8 @@ class Config(QObject): """Get the given setting converted for Python code. Args: + name: The name of the setting to get. + url: The URL to get the value for. fallback: Use the global value if there's no URL-specific one. """ opt = self.get_opt(name) |