--- a/eric6/Graphics/ClassItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/ClassItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param attributes list of attribute names of the class (list of strings) """ - super(ClassModel, self).__init__(name) + super().__init__(name) self.methods = [] if methods is None else methods[:] self.attributes = [] if attributes is None else attributes[:]