def iteritems(obj, **kwargs):
    func = getattr(obj, "iteritems", None)
    if not func:
        func = obj.items
    return func(**kwargs)
Given a key and its associated file, determine whether it should be
dataset/ETHPy150Open PythonCharmers/python-future/docs/3rd-party-py3k-compat-code/pandas_py3k.py/iteritems--crossover with--dataset/ETHPy150Open Lukasa/collectr/collectr/utils.py/should_update_key