code: def _check_resolvers(resolvers):
      if resolvers is not None:
          for resolver in resolvers:
              if not hasattr(resolver, "__getitem__"):
                  name = type(resolver).__name__
                  raise TypeError(
                      "Resolver of type {name!r} does not implement "
                      "the __getitem__ method".format(name=name)
                  )
  
file_path: catboost/contrib/python/pandas/py2/pandas/core/computation/eval.py
imports: import tokenize
  import warnings
  from pandas.compat import string_types
  from pandas.util._validators import validate_bool_kwarg
  from pandas.core.computation.engines import _engines
  from pandas.core.computation.scope import _ensure_scope
  from pandas.io.formats.printing import pprint_thing
label_desc: Use image node_id 3 for calling a global function with example usage: _check_resolvers(resolvers) without return types