def keymap(func, d, factory=dict):
    rv = factory()
    rv.update(zip(map(func, iterkeys(d)), itervalues(d)))
    return rv
Return true if the stub and requseted stub config match.
dataset/ETHPy150Open pytoolz/toolz/toolz/dicttoolz.py/keymap--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/datastore_admin/remote_api_put_stub.py/StubConfigEqualsRequestedConfig