John Lenton added the comment: Attached patch adds two things: an 'end' argument to find, and an 'rfind' method. This includes minimal tests for rfind, but as I actually refactored find and rfind into a single method, tests covering find also cover most of rfind :). I added 'end' first because the refactoring seemed more natural (symmetric?) after that. Also included are updated docs, and NEWS.
---------- nosy: +Chipaca Added file: http://bugs.python.org/file9219/mmap.rfind.patch ____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue976880> ____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com