[Baypiggies] Discussion for newbies/beginner night talks

Chad Netzer chad.netzer at gmail.com
Sat Feb 10 02:58:42 CET 2007

On 2/9/07, Tony Cappellini <cappy2112 at gmail.com> wrote:
> > 5) Understand and use the decorate/sort/undecorate (DSU) idiom.
> I wouldn't agree that this is a beginner topic, especially since it's
> relatively new to the language.

Well, the idiom isn't all that new, although as Alex M. pointed out,
the 'key' argument
to list.sort() is.

For those not familiar with it:


Also, see the sorted() builtin with recent Python versions.


More information about the Baypiggies mailing list