summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/bytesobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 417bc48..5a45136 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -2557,7 +2557,8 @@ PyDoc_STRVAR(replace__doc__,
\n\
Return a copy of B with all occurrences of subsection\n\
old replaced by new. If the optional argument count is\n\
-given, only the first count occurrences are replaced.");
+positive, only the first count occurrences are replaced. A\n\
+negative value of count replaces all occurences");
static PyObject *
bytes_replace(PyBytesObject *self, PyObject *args)