From 206a2f199b6300f1aee27577e23ab05b639cd16f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 14 Dec 2018 15:27:55 +0100 Subject: [PATCH] Fix annotation --- qutebrowser/browser/webkit/webkitelem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/webkit/webkitelem.py b/qutebrowser/browser/webkit/webkitelem.py index 44cc8ae2d..773bca67f 100644 --- a/qutebrowser/browser/webkit/webkitelem.py +++ b/qutebrowser/browser/webkit/webkitelem.py @@ -42,7 +42,7 @@ class WebKitElement(webelem.AbstractWebElement): """A wrapper around a QWebElement.""" - def __init__(self, elem: QWebElement, tab: webkittab.WebKitTab) -> None: + def __init__(self, elem: QWebElement, tab: 'webkittab.WebKitTab') -> None: super().__init__(tab) if isinstance(elem, self.__class__): raise TypeError("Trying to wrap a wrapper!")