#NEWLINE# def renderContents( self , encoding = DEFAULT_OUTPUT_ENCODING , prettyPrint = False , indentLevel = 0 ) : #NEWLINE# #INDENT# if ( not prettyPrint ) : #NEWLINE# #INDENT# indentLevel = None #NEWLINE# #UNINDENT# return self . encode_contents ( indent_level = indentLevel , encoding = encoding )