code: def _bits_of(obj):
      try:
          info = next(
              v for v in _concrete_typeinfo.values() if v.type is obj
          )
      except StopIteration:
          if obj in _abstract_types.values():
              msg = "Cannot count the bits of an abstract type"
              raise ValueError(msg) from None
  
          # some third-party type - make a best-guess
          return dtype(obj).itemsize * 8
      else:
          return info.bits
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/_type_aliases.py
imports: from numpy.compat import unicode
  from numpy.core._string_helpers import english_lower
  from numpy.core.multiarray import typeinfo, dtype
  from numpy.core._dtype import _kind_name
label_desc: Use image node_id 1 for calling a global function with example usage: _bits_of(obj) and returns: info, unknown