summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-25 12:02:24 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-25 12:02:24 (GMT)
commit4c81fbb118247ae6cecbdce11b7bc37dd98e060c (patch)
treee21d6db525ef099a04329e03e004b9ee755b1427
parent79e0b818c577656c8ecc3576b5f34976a4cdff48 (diff)
downloadcpython-4c81fbb118247ae6cecbdce11b7bc37dd98e060c.zip
cpython-4c81fbb118247ae6cecbdce11b7bc37dd98e060c.tar.gz
cpython-4c81fbb118247ae6cecbdce11b7bc37dd98e060c.tar.bz2
Merged revisions 77745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77745 | ezio.melotti | 2010-01-25 13:58:28 +0200 (Mon, 25 Jan 2010) | 9 lines Merged revisions 77743 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line #7775: fixed docstring for rpartition ........ ................
-rw-r--r--Objects/bytearrayobject.c2
-rw-r--r--Objects/bytesobject.c2
-rw-r--r--Objects/unicodeobject.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index 3d7b0b2..d80e694 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -2337,7 +2337,7 @@ bytearray_partition(PyByteArrayObject *self, PyObject *sep_obj)
}
PyDoc_STRVAR(rpartition__doc__,
-"B.rpartition(sep) -> (tail, sep, head)\n\
+"B.rpartition(sep) -> (head, sep, tail)\n\
\n\
Search for the separator sep in B, starting at the end of B,\n\
and return the part before it, the separator itself, and the\n\
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index fb4a845..6584462 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -1250,7 +1250,7 @@ bytes_partition(PyBytesObject *self, PyObject *sep_obj)
}
PyDoc_STRVAR(rpartition__doc__,
-"B.rpartition(sep) -> (tail, sep, head)\n\
+"B.rpartition(sep) -> (head, sep, tail)\n\
\n\
Search for the separator sep in B, starting at the end of B,\n\
and return the part before it, the separator itself, and the\n\
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 62bad6d..5fd2372 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -8386,7 +8386,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\