summaryrefslogtreecommitdiff
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r--Objects/bytesobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 5a45136537..0f7e7d3783 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -2558,7 +2558,7 @@ PyDoc_STRVAR(replace__doc__,
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 occurences");
+negative value of count replaces all occurrences");
static PyObject *
bytes_replace(PyBytesObject *self, PyObject *args)