diff -r 385f60c94548 -r 7c09585bd960 eric6/E5Gui/E5Led.py --- a/eric6/E5Gui/E5Led.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5Led.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param shape shape of the LED (E5LedCircular, E5LedRectangular) @param rectRatio ratio width to height, if shape is rectangular (float) """ - super(E5Led, self).__init__(parent) + super().__init__(parent) if color is None: color = QColor("green") @@ -296,7 +296,7 @@ @param shape shape of the LED (E5LedCircular, E5LedRectangular) @param rectRatio ratio width to height, if shape is rectangular (float) """ - super(E5ClickableLed, self).__init__(parent, color, shape, rectRatio) + super().__init__(parent, color, shape, rectRatio) self.setCursor(Qt.CursorShape.PointingHandCursor) @@ -320,4 +320,4 @@ ): self.middleClicked.emit(evt.globalPos()) else: - super(E5ClickableLed, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt)