[Python-ideas] New list methods
Oleg Broytmann
phd at phd.pp.ru
Tue May 5 18:49:02 CEST 2009
On Tue, May 05, 2009 at 09:25:16AM -0700, Zac Burns wrote:
> I would like to see the following methods added to lists...
>
> rindex : Return first index of value from the right
> rremove: Return first occurence of value from the right.
l.rremove() is the same as l.pop() or l.pop(-1)
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-ideas
mailing list