diff options
author | Georg Brandl <georg@python.org> | 2008-05-30 07:54:16 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-30 07:54:16 (GMT) |
commit | 30fadc17990baf4005081d2cdcb8d3adc9c45a7a (patch) | |
tree | 926e26147725545687d76634fea47cc1c3b6d9a1 | |
parent | 3c2523c2eb9de8a05e00c08e83f6b2165020c627 (diff) | |
download | cpython-30fadc17990baf4005081d2cdcb8d3adc9c45a7a.zip cpython-30fadc17990baf4005081d2cdcb8d3adc9c45a7a.tar.gz cpython-30fadc17990baf4005081d2cdcb8d3adc9c45a7a.tar.bz2 |
#2999: fix name of third parameter in unicode.replace()'s docstring.
-rw-r--r-- | Objects/unicodeobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 7af560c..81b6a66 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7318,11 +7318,11 @@ PyObject *PyUnicode_Replace(PyObject *obj, } 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) |