rfind bug ?

Stef Mientki stef.mientki at gmail.com
Wed Apr 21 04:51:23 EDT 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100421/7df73d26/attachment.html>


More information about the Python-list mailing list