Composition of functions

Wolfram Hinderer wolfram.hinderer at googlemail.com
Thu Jul 1 08:29:51 EDT 2010


On 1 Jul., 06:04, Stephen Hansen <me+list/pyt... at ixokai.io> wrote:
> The 'reversed' and 'sorted' functions are generators that lazilly
> convert an iterable as needed.

'sorted' returns a new list (and is not lazy).






More information about the Python-list mailing list