[issue976880] mmap needs a rfind method

John Lenton report at bugs.python.org
Sat Jan 19 17:54:21 CET 2008


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 <report at bugs.python.org>
<http://bugs.python.org/issue976880>
____________________________________


More information about the Python-bugs-list mailing list