def itemmap(func, d, factory=dict):
    rv = factory()
    rv.update(map(func, iteritems(d)))
    return rv
Finalization function for Maya functionality when the interpreter shuts down
dataset/ETHPy150Open pytoolz/toolz/toolz/dicttoolz.py/itemmap--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/__init__.py/finalize