eta.util.general.cons_dict

cons_dict(dct, k, v)[source]

Add v to the list at key k in dct, creating a new list if none exists.