(self)
return '{%s}' % ', '.join(['%r: %r' % (k, v) for k, v in self.items()])
Replace the normal dict.__repr__ with a version that returns the keys
        in their sorted order.
Replace the normal dict.__repr__ with a version that returns the keys
        in their sorted order.
Replace the normal dict . __repr__ with a version that returns the keys in their sorted order .
def __repr__(self):
        """
        Replace the normal dict.__repr__ with a version that returns the keys
        in their sorted order.
        """
        return '{%s}' % ', '.join(['%r: %r' % (k, v) for k, v in self.items()])
def __repr__ ( self ) : return '{%s}' % ', ' . join ( [ '%r: %r' % ( k , v ) for k , v in self . items ( ) ] )