Re: Equivalents of Ruby's "!" methods?
- From: Fredrik Lundh <fredrik@xxxxxxxxxxxxxx>
- Date: Mon, 25 Aug 2008 19:34:36 +0200
Grzegorz Staniak wrote:
BTW, is there a reason why sorted() on a list returns a list, while reversed() on the same list returns an iterator?
the algorithm required to sort a sequence is something entirely different from the algorithm required to loop over a sequence in reverse. we went through this a few days ago.
</F>
.
- References:
- Equivalents of Ruby's "!" methods?
- From: Simon Mullis
- Re: Equivalents of Ruby's "!" methods?
- From: Paul McGuire
- Re: Equivalents of Ruby's "!" methods?
- From: Terry Reedy
- Equivalents of Ruby's "!" methods?
- Prev by Date: Re: Equivalents of Ruby's "!" methods?
- Next by Date: Re: py2exe importing a package not in library.zip
- Previous by thread: Re: Equivalents of Ruby's "!" methods?
- Next by thread: Re: Equivalents of Ruby's "!" methods?
- Index(es):
Relevant Pages
|