#NEWLINE# def iter_find( self , tag ) : #NEWLINE# #INDENT# '\n        Finds the first matching subelement, by tag name.\n        Does so recursivly\n\n        @param tag What element to look for.\n        @return The first matching element, or None if no element was found.\n        @defreturn MessageElement or None\n        ' #NEWLINE# for child in self . _children : #NEWLINE# #INDENT# if ( child . tag == tag ) : #NEWLINE# #INDENT# return child #NEWLINE# #UNINDENT# check = child . iterfind ( tag ) #NEWLINE# if ( tag is not None ) : #NEWLINE# #INDENT# return check #NEWLINE# #UNINDENT# #UNINDENT# return None