Newbie Questions: Swithing from Perl to Python
Andrew Bennetts
andrew-pythonlist at puzzling.org
Sun Oct 26 19:24:00 EST 2003
On Sun, Oct 26, 2003 at 11:21:41AM -0500, Mel Wilson wrote:
> In article <2rRmb.49323$e5.1791566 at news1.tin.it>,
> Alex Martelli <aleaxit at yahoo.com> wrote:
> >The list.sorted classmethod is more powerful than an instance method
> >of lists would be: it will let you build a sorted list out of any iterable
> >at all, AND support smoothly and transparently _subclasses_ of list.
>
> .. any finite iterable :>
.. with comparable elements ;)
(I'm sure we could play the "let's be excruciatingly pedantic game"
indefinitely...)
-Andrew.
More information about the Python-list
mailing list