def fmt_repr(obj):
  """Print a orphaned string representation of an object without the
  clutter of its parent object.

  """
  items = ["%s = %r" % (k, v) for k, v in list(exclude_fields(obj).items())]
  return "<%s: {%s}>" % (obj.__class__.__name__, ', '.join(items))
def fmt_repr ( obj ) : items = [ "%s = %r" % ( k , v ) for k , v in list ( exclude_fields ( obj ) . items ( ) ) ] return "<%s: {%s}>" % ( obj . __class__ . __name__ , ', ' . join ( items ) )
Print a orphaned string representation of an object without the
  clutter of its parent object.