--- a/eric6/E5Gui/E5Action.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5Action.py Sat Apr 10 18:38:27 2021 +0200 @@ -89,7 +89,7 @@ 7 + incr, len(args))) parent = args[4 + incr] - super(E5Action, self).__init__(parent) + super().__init__(parent) name = args[5 + incr] if name: self.setObjectName(name) @@ -153,7 +153,7 @@ @param shortcut the accelerator (QKeySequence) """ - super(E5Action, self).setShortcut(shortcut) + super().setShortcut(shortcut) self.__ammendToolTip() def setShortcuts(self, shortcuts): @@ -164,7 +164,7 @@ or key for a platform dependent list of accelerators (QKeySequence.StandardKey) """ - super(E5Action, self).setShortcuts(shortcuts) + super().setShortcuts(shortcuts) self.__ammendToolTip() def setIconText(self, text): @@ -173,7 +173,7 @@ @param text new icon text (string) """ - super(E5Action, self).setIconText(text) + super().setIconText(text) self.__ammendToolTip() def __ammendToolTip(self):