def function7():
class IndexType(object):<EOL><INDENT>"""<STR_LIT>"""<EOL>def __index__(self):<EOL><INDENT>"""<STR_LIT>"""<EOL>return <NUM_LIT:0><EOL><DEDENT><DEDENT>class IndexSubType(IndexType):<EOL><INDENT>"""<STR_LIT>"""<EOL>pass<EOL><DEDENT>return TESTLIST[IndexSubType():None:None]<EOL>
class with __index__ in superclass used as index