| commit | 29a5fdb7caf372144a085247d63440d1abb51b5c | [log] [tgz] |
|---|---|---|
| author | Neal Norwitz <nnorwitz@gmail.com> | Tue Sep 05 02:21:38 2006 +0000 |
| committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Sep 05 02:21:38 2006 +0000 |
| tree | 80f97caeff9f1ed20f41b8bea2a7dad95dec0ec0 | |
| parent | 8dc71f21618346c273fdbe49004890d64dfada6e [diff] [blame] |
Fix str.rpartition(sep) when sep is not found in str. Partially from SF patch #1551339, but also taken from head.
diff --git a/Misc/NEWS b/Misc/NEWS index 7883c18..56f13fa 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -27,6 +27,9 @@ - Patch #1546288: fix seg fault in dict_equal due to ref counting bug. +- The return tuple from str.rpartition(sep) is (tail, sep, head) where + head is the original string if sep was not found. + Library -------