--- a/eric6/Network/IRC/IrcMessageEdit.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcMessageEdit.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param side side the clear button should be shown at (E5LineEdit.RightSide, E5LineEdit.LeftSide) """ - super(IrcMessageEdit, self).__init__(parent, inactiveText, side) + super().__init__(parent, inactiveText, side) self.__historyList = [""] # initialize with one empty line self.__historyLine = 0 @@ -42,7 +42,7 @@ @param text text to be set (string) """ - super(IrcMessageEdit, self).setText(text) + super().setText(text) self.setCursorPosition(len(text)) def keyPressEvent(self, evt): @@ -65,7 +65,7 @@ # ^U: clear the text self.setText("") - super(IrcMessageEdit, self).keyPressEvent(evt) + super().keyPressEvent(evt) def wheelEvent(self, evt): """ @@ -79,7 +79,7 @@ elif delta < 0: self.__getHistory(False) - super(IrcMessageEdit, self).wheelEvent(evt) + super().wheelEvent(evt) def __addHistory(self, txt): """