@@ -48,7 +48,7 @@ def __len__(self):
4848
4949class StandardItem (QtGui .QStandardItem ):
5050 def __init__ (self , value ):
51- super (StandardItem , self ).__init__ (value )
51+ super ().__init__ (value )
5252
5353 def get_checked (self ):
5454 return self .checkState () == QtCore .Qt .Checked
@@ -67,7 +67,7 @@ class FilterMenu(QtWidgets.QMenu):
6767 checkedItemsChanged = QtCore .Signal (list )
6868
6969 def __init__ (self , parent = None ):
70- super (QtWidgets . QMenu , self ).__init__ (parent )
70+ super ().__init__ (parent )
7171
7272 self ._list_view = QtWidgets .QListView (parent )
7373 self ._list_view .setFrameStyle (0 )
@@ -182,7 +182,7 @@ class FilterComboBox(QtWidgets.QToolButton):
182182 checkedItemsChanged = QtCore .Signal (list )
183183
184184 def __init__ (self , parent = None ):
185- super (FilterComboBox , self ).__init__ (parent )
185+ super ().__init__ (parent )
186186 self .setText ("(no filter)" )
187187 # QtGui.QToolButton.InstantPopup would be slightly less work (the
188188 # whole button works by default, instead of only the arrow) but it is
@@ -262,7 +262,7 @@ def wheelEvent(self, event):
262262
263263 class TestDialog (QtWidgets .QDialog ):
264264 def __init__ (self ):
265- super (QtWidgets . QDialog , self ).__init__ ()
265+ super ().__init__ ()
266266 layout = QtWidgets .QVBoxLayout ()
267267 self .setLayout (layout )
268268
0 commit comments