summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
authorJavier Ayres <javier@lufte.net>2021-06-29 23:26:05 -0300
committerGitHub <noreply@github.com>2021-06-29 23:26:05 -0300
commitb122e8f19ec92b5fba7e46a865e14ddcbdb8c643 (patch)
tree8cef97d62423a6752598192f37cad97abe32cce2 /qutebrowser
parentd7457283bb5317b021403105ed48914baebfa070 (diff)
downloadqutebrowser-b122e8f19ec92b5fba7e46a865e14ddcbdb8c643.tar.gz
qutebrowser-b122e8f19ec92b5fba7e46a865e14ddcbdb8c643.zip
No type parameters for generics yet
Co-authored-by: Florian Bruhin <me@the-compiler.org>
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/misc/sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/sql.py b/qutebrowser/misc/sql.py
index 35c5c1e27..56f2aac57 100644
--- a/qutebrowser/misc/sql.py
+++ b/qutebrowser/misc/sql.py
@@ -321,7 +321,7 @@ class Database:
return f'UNAVAILABLE ({e})'
-class Transaction(contextlib.AbstractContextManager[None]):
+class Transaction(contextlib.AbstractContextManager): # type: ignore[type-arg]
"""A Database transaction that can be used as a context manager."""