[Python-checkins] r84630 - in python/branches/release31-maint: Objects/bytesobject.c

senthil.kumaran python-checkins at python.org
Wed Sep 8 15:00:08 CEST 2010


Author: senthil.kumaran
Date: Wed Sep  8 15:00:07 2010
New Revision: 84630

Log:
Merged revisions 84629 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84629 | senthil.kumaran | 2010-09-08 18:20:29 +0530 (Wed, 08 Sep 2010) | 3 lines
  
  Revert the doc change done in r83880. str.replace with negative count value is not a feature.
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Objects/bytesobject.c

Modified: python/branches/release31-maint/Objects/bytesobject.c
==============================================================================
--- python/branches/release31-maint/Objects/bytesobject.c	(original)
+++ python/branches/release31-maint/Objects/bytesobject.c	Wed Sep  8 15:00:07 2010
@@ -2557,8 +2557,7 @@
 \n\
 Return a copy of B with all occurrences of subsection\n\
 old replaced by new.  If the optional argument count is\n\
-positive, only the first count occurrences are replaced. A\n\
-negative value of count replaces all occurrences");
+given, only first count occurances are replaced.");
 
 static PyObject *
 bytes_replace(PyBytesObject *self, PyObject *args)


More information about the Python-checkins mailing list