def getPyClassDefinition(self):
kw = KW.copy()<EOL>if self.hasExtPyClass():<EOL><INDENT>classInfo = self.extPyClasses[self.name]<EOL>kw['<STR_LIT>'] = classInfo[<NUM_LIT:0>]<EOL>return ["<STR_LIT>" %kw ]<EOL><DEDENT>kw['<STR_LIT>'] = self.getPyClass()<EOL>definition = []<EOL>definition.append('<STR_LIT>' %kw)<EOL>if self.metaclass is not None:<EOL><INDENT>kw['<STR_LIT:type>'] = self.metaclass<EOL>definition.append('<STR_LIT>' %kw)<EOL><DEDENT>definition.append('<STR_LIT>' %kw)<EOL>definition.append('<STR_LIT>' %kw)<EOL>definition.append('<STR_LIT>' %kw)<EOL>self._setUpElements()<EOL>for el in self.elementAttrs:<EOL><INDENT>kw['<STR_LIT>'] = el<EOL>definition.append('<STR_LIT>' %kw)<EOL><DEDENT>definition.append('<STR_LIT>' %kw)<EOL>if self.name is not None:<EOL><INDENT>kw['<STR_LIT:name>'] = self.name<EOL>definition.append('<STR_LIT>' %kw<EOL>)<EOL><DEDENT>return definition<EOL>
Return a list containing pyclass definition.