Cousin Stanley <[EMAIL PROTECTED]> wrote:
   ...
>       for i , item in reversed( enumerate( sorted( single_list ) ) ) :
   ...
> TypeError: argument to reversed() must be a sequence

Oops, right.  Well then,

    aux_seq = list(enumerate(sorted(single_list)))
    for i, item in reversed(aux_seq): ...

or the like.


Alex

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

Reply via email to