]> granicus.if.org Git - python/commitdiff
Fix #13834: strip() strips leading and trailing whitespace.
authorGeorg Brandl <georg@python.org>
Sun, 22 Jan 2012 20:31:21 +0000 (21:31 +0100)
committerGeorg Brandl <georg@python.org>
Sun, 22 Jan 2012 20:31:21 +0000 (21:31 +0100)
Objects/bytesobject.c

index 8249e5f6df56902332e9bd64bcf293ff8e726df2..a0d4cbd9ae86cad326fdc0c14819b6e602f55ccc 100644 (file)
@@ -1437,7 +1437,7 @@ PyDoc_STRVAR(strip__doc__,
 "B.strip([bytes]) -> bytes\n\
 \n\
 Strip leading and trailing bytes contained in the argument.\n\
-If the argument is omitted, strip trailing ASCII whitespace.");
+If the argument is omitted, strip leading and trailing ASCII whitespace.");
 static PyObject *
 bytes_strip(PyBytesObject *self, PyObject *args)
 {