a=[1,2,3,4].reverse() - why "a" is None?

Chris Withers chris at simplistix.co.uk
Mon Oct 12 09:59:48 CEST 2009


...becauase you were looking for:

reversed([1,2,3,4])

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk



More information about the Python-list mailing list