From: Georg Brandl Date: Sun, 22 Jan 2012 20:31:21 +0000 (+0100) Subject: Fix #13834: strip() strips leading and trailing whitespace. X-Git-Tag: v3.2.3rc1~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beca27a394d4e3988a4c08e670a5b42f1e7eb4a0;p=thirdparty%2FPython%2Fcpython.git Fix #13834: strip() strips leading and trailing whitespace. --- diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index 8249e5f6df56..a0d4cbd9ae86 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -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) {