code: def _short_repr(obj):
    
    stringified = pprint.saferepr(obj)
    if len(stringified) > 200:
      return '%s... (%d bytes)' % (stringified[:200], len(stringified))
    return stringified
docs: Helper function returns a truncated repr() of an object.