def normalized_repr(obj, memo=None):
 if isinstance(obj, dict):
  return sorted_dict_repr(obj, memo)
 else:
  return repr(obj)

def normalized_repr ( obj , memo = None ) : if isinstance ( obj , dict ) : return sorted_dict_repr ( obj , memo ) else : return repr ( obj )
return repr of obj .