Is there a method to get pair n
from an ordered dict? (Other than doing dct.keys[n]=>dct.vals[n]
, which does not seem blessed by the API)
I think from the ordered nature of the dict, that has to be okay, right?
I guess the slightly more blessed interface would be
keys(dct)[n] => values(dct)[n]
yeah, fair enough, I guess it was a stupid question
Last updated: Dec 28 2024 at 04:38 UTC