]> granicus.if.org Git - python/commitdiff
Add item
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 19 Jan 2008 19:14:05 +0000 (19:14 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 19 Jan 2008 19:14:05 +0000 (19:14 +0000)
Doc/whatsnew/2.6.rst

index b5f0d84d016c77ce518a9dbff66878b8d14f4e74..e386b36581b28e7ee5c04ddcb58124fb82e018e9 100644 (file)
@@ -960,6 +960,13 @@ complete list of changes, or look through the CVS logs for all the details.
 
   .. Patch #1490190
 
+* :class:`mmap` objects now have a :meth:`rfind` method that finds
+  a substring, beginning at the end of the string and searching
+  backwards.  The :meth:`find` method
+  also gained a *end* parameter containing the index at which to stop
+  the forward search.
+  (Contributed by John Lenton.)
+
 * The :mod:`new` module has been removed from Python 3.0.
   Importing it therefore
   triggers a warning message when Python is running in 3.0-warning