def trim(item, max_len=75):
    """Return string representation of item, trimmed to max length."""
    string = str(item)
    string = string[:max_len] + '...' if len(string) > max_len else string
    return string