def function6():
class IndexTest(object):<EOL><INDENT>"""<STR_LIT>"""<EOL>def __index__(self):<EOL><INDENT>"""<STR_LIT>"""<EOL>return <NUM_LIT:0><EOL><DEDENT><DEDENT>return TESTLIST[IndexTest():None:None]<EOL>
class with __index__ used as index