From: Andrew M. Kuchling Date: Sat, 19 Jan 2008 19:14:05 +0000 (+0000) Subject: Add item X-Git-Tag: v2.6a1~531 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2686f4d9d14e2b30a61e5350dcb4a56c43c82b57;p=python Add item --- diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index b5f0d84d01..e386b36581 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -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