[Python-checkins] r77744 - in python/branches/release26-maint: Objects/bytearrayobject.c Objects/stringobject.c Objects/unicodeobject.c

ezio.melotti python-checkins at python.org
Mon Jan 25 12:46:11 CET 2010


Author: ezio.melotti
Date: Mon Jan 25 12:46:11 2010
New Revision: 77744

Log:
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
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Objects/bytearrayobject.c
   python/branches/release26-maint/Objects/stringobject.c
   python/branches/release26-maint/Objects/unicodeobject.c

Modified: python/branches/release26-maint/Objects/bytearrayobject.c
==============================================================================
--- python/branches/release26-maint/Objects/bytearrayobject.c	(original)
+++ python/branches/release26-maint/Objects/bytearrayobject.c	Mon Jan 25 12:46:11 2010
@@ -2390,7 +2390,7 @@
 }
 
 PyDoc_STRVAR(rpartition__doc__,
-"B.rpartition(sep) -> (tail, sep, head)\n\
+"B.rpartition(sep) -> (head, sep, tail)\n\
 \n\
 Searches for the separator sep in B, starting at the end of B,\n\
 and returns the part before it, the separator itself, and the\n\

Modified: python/branches/release26-maint/Objects/stringobject.c
==============================================================================
--- python/branches/release26-maint/Objects/stringobject.c	(original)
+++ python/branches/release26-maint/Objects/stringobject.c	Mon Jan 25 12:46:11 2010
@@ -1620,7 +1620,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\

Modified: python/branches/release26-maint/Objects/unicodeobject.c
==============================================================================
--- python/branches/release26-maint/Objects/unicodeobject.c	(original)
+++ python/branches/release26-maint/Objects/unicodeobject.c	Mon Jan 25 12:46:11 2010
@@ -7603,7 +7603,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\


More information about the Python-checkins mailing list