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

This commit is contained in:
Georg Brandl 2008-05-30 07:54:16 +00:00
parent 3c2523c2eb
commit 30fadc1799
1 changed files with 3 additions and 3 deletions

View File

@ -7318,11 +7318,11 @@ PyObject *PyUnicode_Replace(PyObject *obj,
} }
PyDoc_STRVAR(replace__doc__, PyDoc_STRVAR(replace__doc__,
"S.replace (old, new[, maxsplit]) -> unicode\n\ "S.replace (old, new[, count]) -> unicode\n\
\n\ \n\
Return a copy of S with all occurrences of substring\n\ Return a copy of S with all occurrences of substring\n\
old replaced by new. If the optional argument maxsplit is\n\ old replaced by new. If the optional argument count is\n\
given, only the first maxsplit occurrences are replaced."); given, only the first count occurrences are replaced.");
static PyObject* static PyObject*
unicode_replace(PyUnicodeObject *self, PyObject *args) unicode_replace(PyUnicodeObject *self, PyObject *args)