eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

changeset 8218
7c09585bd960
parent 8207
d359172d11be
diff -r 385f60c94548 -r 7c09585bd960 eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py
--- a/eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Sat Apr 10 18:38:27 2021 +0200
@@ -214,7 +214,7 @@
         @param editor reference to the editor
         @type Editor
         """
-        super(DocstringMenuForEnterOnly, self).__init__(editor)
+        super().__init__(editor)
         self.__editor = editor
 
     def keyPressEvent(self, evt):
@@ -229,4 +229,4 @@
             self.__editor.keyPressEvent(evt)
             self.close()
         else:
-            super(DocstringMenuForEnterOnly, self).keyPressEvent(evt)
+            super().keyPressEvent(evt)

eric ide

mercurial