diff -r 385f60c94548 -r 7c09585bd960 eric6/MicroPython/GenericMicroPythonDevices.py --- a/eric6/MicroPython/GenericMicroPythonDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/GenericMicroPythonDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent reference to the parent object @type QObject """ - super(GenericMicroPythonDevice, self).__init__( + super().__init__( microPythonWidget, deviceType, parent) self.__directAccess = False @@ -62,7 +62,7 @@ """ Public method to enable the supported action buttons. """ - super(GenericMicroPythonDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART) @@ -169,7 +169,7 @@ self.__workspace = self.__findWorkspace(silent=silent) return self.__workspace else: - return super(GenericMicroPythonDevice, self).getWorkspace() + return super().getWorkspace() def __findWorkspace(self, silent=False): """ @@ -204,4 +204,4 @@ ).format(self.__deviceVolumeName) ) - return super(GenericMicroPythonDevice, self).getWorkspace() + return super().getWorkspace()