def g(n): d = OrderedDict() prepare_dict_update(d, n) return 42
def g(n): d = {} prepare_dict_update(d, n) return 42