diff -r 385f60c94548 -r 7c09585bd960 eric6/MicroPython/PyBoardDevices.py --- a/eric6/MicroPython/PyBoardDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/PyBoardDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent reference to the parent object @type QObject """ - super(PyBoardDevice, self).__init__(microPythonWidget, deviceType, + super().__init__(microPythonWidget, deviceType, parent) self.__workspace = self.__findWorkspace() @@ -53,7 +53,7 @@ """ Public method to enable the supported action buttons. """ - super(PyBoardDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART) @@ -199,7 +199,7 @@ ) ) - return super(PyBoardDevice, self).getWorkspace() + return super().getWorkspace() def getDocumentationUrl(self): """