code: def _str(obj):
      
      values = []
      for name in obj._attribs:
          val = getattr(obj, name)
          if isinstance(val, str):
              val = repr(val)
          val = str(val) if len(str(val)) < 10 else "(...)"
          values.append((name, val))
      values = ", ".join("{}={}".format(k, v) for k, v in values)
      return "{}({})".format(obj.__class__.__name__, values)
docs: Show nicely the generic object received.