[Python-3000] Drop list.reverse()?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 15 03:09:21 CET 2008


Raymond Hettinger wrote:
> Would it be worthwhile to leave reversed(s) and s[::-1] 
 > as the two obvious ways to do it?

But that would leave us without an efficient way of
reversing in-place.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list