def __init__(self, pyclass, ofwhat, pname=None, inorder=False, inline=False,<EOL>mutable=True, mixed=False, mixed_aname='<STR_LIT>', **kw):
TypeCode.__init__(self, pname, pyclass=pyclass, **kw)<EOL>self.inorder = inorder<EOL>self.inline = inline<EOL>self.mutable = mutable<EOL>self.mixed = mixed<EOL>self.mixed_aname = None<EOL>if mixed is True:<EOL><INDENT>self.mixed_aname = mixed_aname<EOL><DEDENT>if self.mutable is True: self.inline = True<EOL>self.type = kw.get('<STR_LIT:type>') or _get_xsitype(self)<EOL>t = type(ofwhat)<EOL>if t not in _seqtypes:<EOL><INDENT>raise TypeError(<EOL>'<STR_LIT>' + str(t))<EOL><DEDENT>self.ofwhat = tuple(ofwhat)<EOL>if TypeCode.typechecks:<EOL><INDENT>if self.pyclass is not None andtype(self.pyclass) is not type and not isinstance(self.pyclass, object):<EOL><INDENT>raise TypeError('<STR_LIT>' +<EOL>str(type(self.pyclass)))<EOL><DEDENT>_check_typecode_list(self.ofwhat, '<STR_LIT>')<EOL><DEDENT>
pyclass -- the Python class to hold the fields
        ofwhat -- a list of fields to be in the complexType
        inorder -- fields must be in exact order or not
        inline -- don't href/id when serializing
        mutable -- object could change between multiple serializations
        type -- the (URI,localname) of the datatype
        mixed -- mixed content model? True/False
        mixed_aname -- if mixed is True, specify text content here. Default _text