#NEWLINE# def dispatch_repr( self , obj , recursive ) : #NEWLINE# #INDENT# if ( obj is helper ) : #NEWLINE# #INDENT# return helper . get_help ( None ) #NEWLINE# #UNINDENT# if isinstance ( obj , ( int , long , float , complex ) ) : #NEWLINE# #INDENT# return ( '<span class="number">%r</span>' % obj ) #NEWLINE# #UNINDENT# if isinstance ( obj , basestring ) : #NEWLINE# #INDENT# return self . string_repr ( obj ) #NEWLINE# #UNINDENT# if isinstance ( obj , RegexType ) : #NEWLINE# #INDENT# return self . regex_repr ( obj ) #NEWLINE# #UNINDENT# if isinstance ( obj , list ) : #NEWLINE# #INDENT# return self . list_repr ( obj , recursive ) #NEWLINE# #UNINDENT# if isinstance ( obj , tuple ) : #NEWLINE# #INDENT# return self . tuple_repr ( obj , recursive ) #NEWLINE# #UNINDENT# if isinstance ( obj , set ) : #NEWLINE# #INDENT# return self . set_repr ( obj , recursive ) #NEWLINE# #UNINDENT# if isinstance ( obj , frozenset ) : #NEWLINE# #INDENT# return self . frozenset_repr ( obj , recursive ) #NEWLINE# #UNINDENT# if isinstance ( obj , dict ) : #NEWLINE# #INDENT# return self . dict_repr ( obj , recursive ) #NEWLINE# #UNINDENT# if ( ( deque is not None ) and isinstance ( obj , deque ) ) : #NEWLINE# #INDENT# return self . deque_repr ( obj , recursive ) #NEWLINE# #UNINDENT# return self . object_repr ( obj )