summaryrefslogtreecommitdiff
path: root/qutebrowser/misc/nativeeventfilter.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/misc/nativeeventfilter.py')
-rw-r--r--qutebrowser/misc/nativeeventfilter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/nativeeventfilter.py b/qutebrowser/misc/nativeeventfilter.py
index 9b1bbb97c..06533bd42 100644
--- a/qutebrowser/misc/nativeeventfilter.py
+++ b/qutebrowser/misc/nativeeventfilter.py
@@ -20,7 +20,7 @@ from qutebrowser.utils import log
# Needs to be saved to avoid garbage collection
-_instance = None
+_instance: Optional["NativeEventFilter"] = None
# Using C-style naming for C structures in this file
# pylint: disable=invalid-name