def htmlparser_trace(data):
 parser = AnnouncingParser()
 parser.feed(data)

def htmlparser_trace ( data ) : parser = AnnouncingParser ( ) parser . feed ( data )
print out the htmlparser events that occur during parsing .