diff Objects/bytesobject.c @ 74579:960d93deb8c2 3.2

Fix #13834: strip() strips leading and trailing whitespace.
author Georg Brandl <georg@python.org>
date Sun, 22 Jan 2012 21:31:21 +0100
parents 050c07b31192
children 4a31f6b11e7a f13af83967a0
line wrap: on
line diff
--- a/Objects/bytesobject.c	Sat Jan 21 22:05:10 2012 -0800
+++ b/Objects/bytesobject.c	Sun Jan 22 21:31:21 2012 +0100
@@ -1437,7 +1437,7 @@
 "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)
 {