3 ms·
> Dicts now retain order now (in other words all dicts are ordered dicts). I think you can be more clear here: all dicts are ordered by insertion order (not by
by amelius 8y ago
> Dicts now retain order now (in other words all dicts are ordered dicts).
I think you can be more clear here: all dicts are ordered by insertion order (not by key).
- b_tterc_p 8y agoFair. I was referring to the precious data structure for this use case, collections.OrderedDict but that’s not self evident if you’re not familiar.