summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/bytesobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 4d54610..eb80360 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -2151,7 +2151,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)