[Python-3000] find -> index patch

Guido van Rossum guido at python.org
Wed Aug 23 23:18:59 CEST 2006

Here's the patch (by Hasan Diwan, BTW) for people's perusal. It just
gets rid of all *uses* of find/rfind from Lib; it doesn't actually
modify stringobject.c or unicodeobject.c. It doesn't use
[r]partition()'; someone could look for opportunities to use that

--Guido van Rossum (home page: http://www.python.org/~guido/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfind2rindex_find2index.pat
Type: application/octet-stream
Size: 80147 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20060823/a8f58010/attachment-0001.obj 

More information about the Python-3000 mailing list