Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
   ...
> d.ksort() = d.sortkeys()
> d.asort() = d.sortvalues()
> 
> d.sort() could default to one of them (not sure which one).

Define JUST d.sort, you can trivially implement the other as
d.sort(key=d.get).


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to