#NEWLINE# def tostring( element , **kwargs ) : #NEWLINE# #INDENT# native_args = [ 'encoding' , 'method' ] #NEWLINE# if ( native_etree is True ) : #NEWLINE# #INDENT# pass_args = dict ( ) #NEWLINE# for a in native_args : #NEWLINE# #INDENT# if ( a in kwargs ) : #NEWLINE# #INDENT# pass_args [ a ] = kwargs [ a ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# pass_args = kwargs #NEWLINE# #UNINDENT# return etree . tostring ( a , ** pass_args )