summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-25 11:24:37 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-25 11:24:37 (GMT)
commit1fafaab5e5dac8e25c22c7b3d76ef8d3d3a967f0 (patch)
tree8e7b1291f490043f46caf212fd61d4c7f40f0ecf /Objects/unicodeobject.c
parent47b66590f6299bb869122c6fef2c6490ace8b0f5 (diff)
downloadcpython-1fafaab5e5dac8e25c22c7b3d76ef8d3d3a967f0.zip
cpython-1fafaab5e5dac8e25c22c7b3d76ef8d3d3a967f0.tar.gz
cpython-1fafaab5e5dac8e25c22c7b3d76ef8d3d3a967f0.tar.bz2
#7775: fixed docstring for rpartition
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3bb7974..130ca48 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7461,7 +7461,7 @@ unicode_partition(PyUnicodeObject *self, PyObject *separator)
}
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\