4 ms·
I think the standard answer is to use > OrderedDict([('a', 1), ('b', 2)]) I find myself doing that and similar things (objects with `key` and `value` attribut
by fovc 10y ago
I think the standard answer is to use
> OrderedDict([('a', 1), ('b', 2)])
I find myself doing that and similar things (objects with `key` and `value` attributes) to deal with JSON non-ordering a lot. I can definitely see value in preserving keyword argument order