human
Python function to remove values from objects.
assistant
Here is a Python function to remove values from objects

import collections

def remove_values(obj, vals):
    """
    Removes values from objects.

    :param obj:
    :param vals:
    :return:
    """
    for val in vals:
        obj.pop(val)

# Enter the dictionary
d = collections.OrderedDict()

# Add some keys and values
d['a'] = 1
d['b'] = 2
d['c'] = 3

# Calling the function
print((remove_values(d, ['a', 'b'])))

# Printing the dictionary
print(d)

#Example Output
# None
# OrderedDict([('c', 3)])

#Remember to inspect code for bugs.