[Python-Dev] dict.sortedkeys()

Bob Ippolito bob at redivi.com
Sat Apr 17 16:23:35 EDT 2004


On Apr 17, 2004, at 3:17 PM, Robert Brewer wrote:

> I'm willing to pay money for someone to write {}.sortedkeys() and/or
> sets.Set().sorteditems() (since IANACH (I am not a C hacker)). I'm just
> *really* tired of writing what should be a one-liner in three lines:

I'm pretty sure that in Python 2.4 you will be able to say sorted(seq).

-bob




More information about the Python-Dev mailing list