]> granicus.if.org Git - python/commitdiff
spelling mistake.
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 9 Aug 2010 09:03:57 +0000 (09:03 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 9 Aug 2010 09:03:57 +0000 (09:03 +0000)
Objects/bytesobject.c

index 4d546105ba52d6d61632dca60ff6a8e48fd0cda6..eb8036065a1cb7e446b206402aca27b0484fdd76 100644 (file)
@@ -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)