code: def repr_type(obj: Any) -> str:
      """Return a string representation of a value and its type for readable
  
      error messages.
      """
      the_type = type(obj)
      msg = f"{obj!r} {the_type!r}"
      return msg
  
file_path: catboost/contrib/python/traitlets/py3/traitlets/utils/descriptions.py
imports: from __future__ import annotations
  import inspect
  import re
  import types
  from typing import Any
label_desc: Use image node_id 5 for calling a global function with example usage: repr_type(obj) and returns: msg