def summarize_attr(key, value, col_width=None):
    # ignore col_width for now to more clearly distinguish attributes
    return '    %s: %s' % (key, _maybe_truncate(value))
dataset/ETHPy150Open pydata/xarray/xarray/core/formatting.py/summarize_attr/original