#NEWLINE# def ToString( self , string_encoding = 'UTF-8' ) : #NEWLINE# #INDENT# 'Converts the Atom object to a string containing XML.' #NEWLINE# return ElementTree . tostring ( self . _ToElementTree ( ) , encoding = self )