list.reverse()

Mike Dean klaatu at evertek.net
Fri Nov 15 21:16:30 EST 2002


I think I recall seeing a reasonable explanation for this earlier 
(probably referring actually to list.sort()), but I'm wondering - what 
was the rationale for making list.reverse() reverse a list in-place 
rather than return a new, reversed list?  I'm sure there's a good 
reason, but what might that be?

-Mike



More information about the Python-list mailing list