ok, so how do I return a sorted list without doing it in place

Grant Edwards grante at visi.com
Sat Feb 17 19:00:47 EST 2001


In article <slrn98t98c.g7f.grante at isis.visi.com>, Grant Edwards wrote:

> for k in dict.keys().sorted():
>   whatever(k) 
[...]
>In my mine the used of the adjective "sorted"

Jeez, I _swear_ that's not what I typed...

-- 
Grant Edwards                   grante             Yow!  Yow!! "Janitor
                                  at               trapped in sewer uses ESP
                               visi.com            to find decayed burger"!!



More information about the Python-list mailing list