def remove_entries(d, keys):
    for key in keys:
        d.pop(key, None)


# Namespace flattening
Removes all the `keys` from the dictionary `d`.
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/remove_entries