On 7/1/10 5:29 AM, Wolfram Hinderer wrote:
On 1 Jul., 06:04, Stephen Hansen<me+list/pyt...@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).
Oops, you're right. Got the two crossed into one in my head. -- ... Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/ -- http://mail.python.org/mailman/listinfo/python-list