diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-25 11:58:28 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-25 11:58:28 (GMT) |
commit | 5b2b242f0780d4761acc366f01b3bc61aa01d210 (patch) | |
tree | 802785657eaefce2c242648705f4df1d95b1b84e /Objects | |
parent | 250014793e9ed7d6cfc6e25ac502bcb124895d23 (diff) | |
download | cpython-5b2b242f0780d4761acc366f01b3bc61aa01d210.zip cpython-5b2b242f0780d4761acc366f01b3bc61aa01d210.tar.gz cpython-5b2b242f0780d4761acc366f01b3bc61aa01d210.tar.bz2 |
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
........
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/bytearrayobject.c | 2 | ||||
-rw-r--r-- | Objects/bytesobject.c | 2 | ||||
-rw-r--r-- | Objects/unicodeobject.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c index 7d52522..3603d4f 100644 --- a/Objects/bytearrayobject.c +++ b/Objects/bytearrayobject.c @@ -2044,7 +2044,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 183722c..890d044 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -1061,7 +1061,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 35683d0..79b0aa7 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -8201,7 +8201,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\ |