eric6/MicroPython/MicrobitDevices.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8259
2bbec88047dd
--- a/eric6/MicroPython/MicrobitDevices.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/MicroPython/MicrobitDevices.py	Sat Apr 10 18:38:27 2021 +0200
@@ -39,14 +39,14 @@
         @param parent reference to the parent object
         @type QObject
         """
-        super(MicrobitDevice, self).__init__(
+        super().__init__(
             microPythonWidget, deviceType, parent)
     
     def setButtons(self):
         """
         Public method to enable the supported action buttons.
         """
-        super(MicrobitDevice, self).setButtons()
+        super().setButtons()
         self.microPython.setActionButtons(
             run=True, repl=True, files=True, chart=HAS_QTCHART)
     

eric ide

mercurial