diff -r 385f60c94548 -r 7c09585bd960 eric6/UI/CompareDialog.py --- a/eric6/UI/CompareDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/CompareDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -95,7 +95,7 @@ (list of two tuples of two strings) @param parent parent widget (QWidget) """ - super(CompareDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if files is None: @@ -186,7 +186,7 @@ """ if filename: self.file1Picker.setText(filename) - super(CompareDialog, self).show() + super().show() def __appendText(self, pane, linenumber, line, charFormat, interLine=False): @@ -470,7 +470,7 @@ (list of two tuples of two strings) @param parent reference to the parent widget (QWidget) """ - super(CompareWindow, self).__init__(parent) + super().__init__(parent) self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))