diff Objects/stringobject.c @ 58487:5e8930f370d5 legacy-trunk

#7775: fixed docstring for rpartition
author Ezio Melotti <ezio.melotti@gmail.com>
date Mon, 25 Jan 2010 11:24:37 +0000
parents 66f1d4a4c799
children 4877c1159153
line wrap: on
line diff
--- a/Objects/stringobject.c	Mon Jan 25 06:15:01 2010 +0000
+++ b/Objects/stringobject.c	Mon Jan 25 11:24:37 2010 +0000
@@ -1495,7 +1495,7 @@
 }
 
 PyDoc_STRVAR(rpartition__doc__,
-"S.rpartition(sep) -> (tail, sep, head)\n\
+"S.rpartition(sep) -> (head, sep, tail)\n\
 \n\
 Search for the separator sep in S, starting at the end of S, and return\n\
 the part before it, the separator itself, and the part after it.  If the\n\