Tobiah <[EMAIL PROTECTED]> writes:
> I tried doing this with a simple example, but noticed
> that [].sort(func) passes two arguments to func, whereas
> the function expected by groupby() uses only one argument.

Use: [].sort(key=func)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to