eric6/Graphics/ClassItem.py

changeset 8218
7c09585bd960
parent 8217
385f60c94548
child 8234
fcb6b4b96274
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
27 @param methods list of method names of the class 27 @param methods list of method names of the class
28 (list of strings) 28 (list of strings)
29 @param attributes list of attribute names of the class 29 @param attributes list of attribute names of the class
30 (list of strings) 30 (list of strings)
31 """ 31 """
32 super(ClassModel, self).__init__(name) 32 super().__init__(name)
33 33
34 self.methods = [] if methods is None else methods[:] 34 self.methods = [] if methods is None else methods[:]
35 self.attributes = [] if attributes is None else attributes[:] 35 self.attributes = [] if attributes is None else attributes[:]
36 36
37 def addMethod(self, method): 37 def addMethod(self, method):

eric ide

mercurial