def _gen_index_name(keys):
    """Generate an index name from the set of fields it is over."""
    return _UUNDER.join(["%s_%s" % item for item in keys])
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/helpers.py/_gen_index_name/original