Style guide for subclassing built-in types?

Nick Coghlan ncoghlan at iinet.net.au
Wed Feb 23 05:43:08 EST 2005


janeaustine50 at hotmail.com wrote:
> p.s. the reason I'm not sticking to reversed or even reverse : suppose
> the size of the list is huge.

Reversed is an iterator - it does NOT copy the list. In other words, reversed 
already does pretty much what you want.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list