code: def _iteritems(d):
      """Like d.iteritems, but accepts any collections.Mapping."""
      return d.iteritems() if hasattr(d, "iteritems") else d.items()
  
file_path: catboost/contrib/python/scikit-learn/py3/sklearn/feature_extraction/_hash.py
imports: from itertools import chain
  from numbers import Integral
  import numpy
  import scipy.sparse
  from ..base import BaseEstimator, TransformerMixin, _fit_context
  from ..utils._param_validation import Interval, StrOptions
  from ._hashing_fast import transform
label_desc: Use image node_id 1 for calling a global function with example usage: _iteritems(d) and returns: unknown