eric6/UI/PythonAstViewer.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8258
82b608e352ec
diff -r 385f60c94548 -r 7c09585bd960 eric6/UI/PythonAstViewer.py
--- 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()

eric ide

mercurial