[Python-checkins] r63808 - python/trunk/Objects/unicodeobject.c

georg.brandl python-checkins at python.org
Fri May 30 09:54:16 CEST 2008


Author: georg.brandl
Date: Fri May 30 09:54:16 2008
New Revision: 63808

Log:
#2999: fix name of third parameter in unicode.replace()'s docstring.


Modified:
   python/trunk/Objects/unicodeobject.c

Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c	(original)
+++ python/trunk/Objects/unicodeobject.c	Fri May 30 09:54:16 2008
@@ -7318,11 +7318,11 @@
 }
 
 PyDoc_STRVAR(replace__doc__,
-"S.replace (old, new[, maxsplit]) -> unicode\n\
+"S.replace (old, new[, count]) -> unicode\n\
 \n\
 Return a copy of S with all occurrences of substring\n\
-old replaced by new.  If the optional argument maxsplit is\n\
-given, only the first maxsplit occurrences are replaced.");
+old replaced by new.  If the optional argument count is\n\
+given, only the first count occurrences are replaced.");
 
 static PyObject*
 unicode_replace(PyUnicodeObject *self, PyObject *args)


More information about the Python-checkins mailing list