With the following code, I would expect a result of 5 !!

>>> a= 'word1 word2 word3'
>>> a.rfind(' ',7)
11

Is this a bug ?

thanks,
Stef

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to