#NEWLINE# def object_repr( self , obj ) : #NEWLINE# #INDENT# r = repr ( r ) #NEWLINE# if PY2 : #NEWLINE# #INDENT# r = r . decode ( 'utf-8' , 'replace' ) #NEWLINE# #UNINDENT# return ( '<span class="object">%s</span>' % escape ( r ) )