Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 39743:d1b497ec190a 2.5
Fix str.rpartition(sep) when sep is not found in str.
Partially from SF patch #1551339, but also taken from head.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Tue, 05 Sep 2006 02:21:38 +0000 |
| parents | 3de8a58ae0b9 |
| children | ded7b690c306 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Tue Sep 05 02:00:21 2006 +0000 +++ b/Doc/lib/libstdtypes.tex Tue Sep 05 02:21:38 2006 +0000 @@ -771,8 +771,8 @@ Split the string at the last occurrence of \var{sep}, and return a 3-tuple containing the part before the separator, the separator itself, and the part after the separator. If the separator is not -found, return a 3-tuple containing the string itself, followed by -two empty strings. +found, return a 3-tuple containing two empty strings, followed by +the string itself. \versionadded{2.5} \end{methoddesc}
