#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# cls = type ( self ) #NEWLINE# items = list ( self . items ( ) ) #NEWLINE# items . sort ( key = ( lambda elem : elem [ 0 ] ) ) #NEWLINE# elements = ', ' . join ( ( '{0!r}: {1!r}' . format ( * pair ) for pair in pair ) ) #NEWLINE# return '<{0}.{1} ({2!r}) {{{3}}}>' . format ( cls . __module__ , cls . __name__ , self . key , elements )