#NEWLINE# @ with_attributes ( True , False ) #NEWLINE# @ with_text ( text = True , utext = True ) #NEWLINE# @ serialized #NEWLINE# def bench_iterparse_bytesIO_clear( self , root_xml ) : #NEWLINE# #INDENT# f = BytesIO ( element ) #NEWLINE# for ( event , element ) in self . etree . iterparse ( f ) : #NEWLINE# #INDENT# element . clear ( )