new string method in 2.5 (partition)

George Sakkis george.sakkis at gmail.com
Tue Sep 19 15:40:52 EDT 2006


Bruno Desthuilliers wrote:

> I must definitively be dumb, but so far I fail to see how it's better
> than split and rsplit:

I fail to see it too. What's the point of returning the separator since
the caller passes it anyway* ?

George

* unless the separator can be a regex, but I don't think so.




More information about the Python-list mailing list