#NEWLINE# def pformat_dict_summary_html( dict ) : #NEWLINE# #INDENT# '\n    Briefly print the dictionary keys.\n    ' #NEWLINE# if ( not dict ) : #NEWLINE# #INDENT# return '   {}' #NEWLINE# #UNINDENT# html = [ ] #NEWLINE# for ( key , value ) in sorted ( dict . iteritems ( ) ) : #NEWLINE# #INDENT# if ( not isinstance ( value , DICT_EXPANDED_TYPES ) ) : #NEWLINE# #INDENT# value = '...' #NEWLINE# #UNINDENT# html . append ( _format_dict_item ( key , value ) ) #NEWLINE# #UNINDENT# return mark_safe ( '<br/>' . join ( html ) )