Remove useless super-calls
This commit is contained in:
parent
04fdce9058
commit
e887d9a381
@ -37,9 +37,6 @@ class RAMCookieJar(QNetworkCookieJar):
|
||||
|
||||
changed = pyqtSignal()
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
|
||||
def __repr__(self):
|
||||
return utils.get_repr(self, count=len(self.allCookies()))
|
||||
|
||||
|
@ -123,9 +123,6 @@ class JSBridge(QObject):
|
||||
|
||||
"""Javascript-bridge for special qute:... pages."""
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
|
||||
@pyqtSlot(int, str, str, str)
|
||||
def set(self, win_id, sectname, optname, value):
|
||||
"""Slot to set a setting from qute:settings."""
|
||||
|
@ -420,9 +420,6 @@ class ExceptionCrashDialog(_CrashDialog):
|
||||
text = "<b>Argh! qutebrowser crashed unexpectedly.</b>"
|
||||
self._lbl.setText(text)
|
||||
|
||||
def _init_buttons(self):
|
||||
super()._init_buttons()
|
||||
|
||||
def _init_checkboxes(self):
|
||||
"""Add checkboxes to the dialog."""
|
||||
super()._init_checkboxes()
|
||||
|
@ -531,14 +531,6 @@ class FakeIOStream(io.TextIOBase):
|
||||
super().__init__()
|
||||
self.write = write_func
|
||||
|
||||
def flush(self):
|
||||
"""Override flush() to satisfy pylint."""
|
||||
return super().flush()
|
||||
|
||||
def isatty(self):
|
||||
"""Override isatty() to satisfy pylint."""
|
||||
return super().isatty()
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def fake_io(write_func):
|
||||
|
Loading…
Reference in New Issue
Block a user