--- a/eric6/Templates/TemplatesFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Templates/TemplatesFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(TemplatesFile, self).__init__(parent) + super().__init__(parent) self.__viewer = viewer def writeFile(self, filename: str) -> bool: