diff options
Diffstat (limited to 'qutebrowser/misc/throttle.py')
-rw-r--r-- | qutebrowser/misc/throttle.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qutebrowser/misc/throttle.py b/qutebrowser/misc/throttle.py index 567951878..be4fa4d29 100644 --- a/qutebrowser/misc/throttle.py +++ b/qutebrowser/misc/throttle.py @@ -44,10 +44,9 @@ class Throttle(QtCore.QObject): ends. If another request comes in, it will update the pending request. """ - def __init__(self, - func: Callable[..., None], - delay_ms: int, - parent: QtCore.QObject = None) -> None: + def __init__( + self, func: Callable[..., None], delay_ms: int, parent: QtCore.QObject = None + ) -> None: """Constructor. Args: |