[Python-ideas] str.rreplace

spir denis.spir at gmail.com
Sat Jan 25 14:18:05 CET 2014


On 01/25/2014 01:21 PM, Alexander Heger wrote:
> For some of the reverse methods problems may occur if they operate on
> an iterator rather than an actual list, tuple, or similar.

Sure. Thus maybe the right way is to abandon this altogether and require the 
user to user a reverse() generator (or should i say iterator here?) instead? 
(this time, really reverse ;-)

d


More information about the Python-ideas mailing list