summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-19 19:14:05 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-19 19:14:05 (GMT)
commit2686f4d9d14e2b30a61e5350dcb4a56c43c82b57 (patch)
treea03cff4d087ccdddae5e7b9b4735f8dc7034f0f2
parent562133b8bed11ddfbef6c0a908767ce60d89c7b7 (diff)
downloadcpython-2686f4d9d14e2b30a61e5350dcb4a56c43c82b57.zip
cpython-2686f4d9d14e2b30a61e5350dcb4a56c43c82b57.tar.gz
cpython-2686f4d9d14e2b30a61e5350dcb4a56c43c82b57.tar.bz2
Add item
-rw-r--r--Doc/whatsnew/2.6.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index b5f0d84..e386b36 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