17 Jun
2009
17 Jun
'09
12:30 a.m.
Steven D'Aprano wrote:
As far as I can see, there is no use-case for OrderedDict(dict) other than to generate confused newbies.
It's possible that you don't care about the order of the initial items, but want to preserve the ordering of items added later. Not sure how *likely* a requirement this is, though... -- Greg