--- a/eric6/UI/PythonAstViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/PythonAstViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PythonAstViewer, self).__init__(parent) + super().__init__(parent) self.__layout = QVBoxLayout(self) self.setLayout(self.__layout) @@ -139,7 +139,7 @@ """ Public slot to show the AST viewer. """ - super(PythonAstViewer, self).show() + super().show() if not self.__vmConnected: self.__vm.editorChangedEd.connect(self.__editorChanged) @@ -153,7 +153,7 @@ """ Public slot to hide the AST viewer. """ - super(PythonAstViewer, self).hide() + super().hide() if self.__editor: self.__editor.clearAllHighlights()