def _check_typecode_list(ofwhat, tcname):
for o in ofwhat:<EOL><INDENT>if callable(o): <EOL><INDENT>continue<EOL><DEDENT>if not isinstance(o, TypeCode):<EOL><INDENT>raise TypeError(<EOL>tcname + '<STR_LIT>' +<EOL>str(o.__class__))<EOL><DEDENT>if o.pname is None and not isinstance(o, AnyElement):<EOL><INDENT>raise TypeError(tcname + '<STR_LIT>' + str(o) + '<STR_LIT>')<EOL><DEDENT><DEDENT>
Check a list of typecodes for compliance with Struct
    requirements.