Message223008
I'm not sure this would make sense given that the ordered dict itself isn't indexable, given that keys/values/items on regular dicts aren't indexable, and given that keys/items views are set-like rather than sequence-like.
The one obvious way to get sequence behavior is to build a list:
s = list(od)
s = list(od.values())
s = list(od.items()) |
|
Date |
User |
Action |
Args |
2014-07-14 10:12:33 | rhettinger | set | recipients:
+ rhettinger, cool-RR |
2014-07-14 10:12:32 | rhettinger | set | messageid: <1405332752.99.0.939028968383.issue21978@psf.upfronthosting.co.za> |
2014-07-14 10:12:32 | rhettinger | link | issue21978 messages |
2014-07-14 10:12:32 | rhettinger | create | |
|