Sorting a dictionary

François Pinard pinard at
Wed Mar 29 19:47:34 CEST 2000

"Fred L. Drake, Jr." <fdrake at> écrit:

> François Pinard writes:
>  > Could the documentation of Python be modified to clarify this point
>  > [the fact that items(), keys() and values() use the same random
>  > ordering] in one way or another?

>   The behavior [the same order] can now be described as documented!

Thanks a lot!  I'll start relying on it, then.

François Pinard

More information about the Python-list mailing list