0
How do you enforce ordering for a dictionary-style object?
This question was addressed to me. I guess it also asks what are the good standards regarding dictionary-style objects, not sure. Need some clarification please.
1 Respuesta
0
dictionaries are unordered for nature. but you can use collections.OrderedDict.
look at this link. it will answer to your question:
http://stackoverflow.com/questions/6083531/order-of-keys-in-JUMP_LINK__&&__python__&&__JUMP_LINK-dictionary