def add_to_dict(data, key, value):
    if key in data:
        data[key].add(value)
    else:
        data[key] = set([value])
A helper function to add "value" to the set of values for "key", whether or
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/sql/query.py/add_to_dict