#NEWLINE# def remove( self , child ) : #NEWLINE# #INDENT# 'Remove a child element.' #NEWLINE# for i in range ( len ( self ) ) : #NEWLINE# #INDENT# if ( self [ i ] == child ) : #NEWLINE# #INDENT# del self [ i ]