Is there a OrderedDict which can perform an iteritems() in order?

Vlastimil Brom vlastimil.brom at
Thu Nov 4 10:49:29 CET 2010

2010/11/4 Jo Chan <csjcg2 at>:
> Hello all,
>      I have working on a program which need a ordered dictionary that could
> perform iteritems() sequentially.
>      I found a package on
>      but it  could only perform items() in order, but iteritems()...
>      Would you help me here?
> songjian
> ...
it seems the standard library implementation in collections
(OrderedDict) has the iteritems() method (checked on python 2.7). Does
it not work the way you need?

More information about the Python-list mailing list