diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-01-19 18:18:41 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-01-19 18:18:41 (GMT) |
commit | 5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad (patch) | |
tree | 906959917e2562717aa503edee65d6462a6d5682 /Misc | |
parent | 4be0bc642e89939d9d9bf2559d92eafe9f0a0933 (diff) | |
download | cpython-5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad.zip cpython-5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad.tar.gz cpython-5c60bfcfbf2dd50cc40210771fdc8d2cfc20cdad.tar.bz2 |
Patch #976880: add mmap .rfind() method, and 'end' paramter to .find().
Contributed by John Lenton.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -395,6 +395,7 @@ Kip Lehman Joerg Lehmann Luke Kenneth Casson Leighton Marc-Andre Lemburg +John Lenton Mark Levinson William Lewis Robert van Liere @@ -1011,6 +1011,10 @@ Library Extension Modules ----------------- +- Patch 976880: ``mmap`` objects now have an ``rfind`` method that + works as expected. ``mmap.find`` also takes an optional ``end`` + parameter. + - _winreg's HKEY object has gained __enter__ and __exit__ methods to support the context manager protocol. The _winreg module also gained a new function ``ExpandEnvironmentStrings`` to expand REG_EXPAND_SZ keys. |