From beca27a394d4e3988a4c08e670a5b42f1e7eb4a0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 22 Jan 2012 21:31:21 +0100 Subject: [PATCH] Fix #13834: strip() strips leading and trailing whitespace. --- Objects/bytesobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index 8249e5f6df5..a0d4cbd9ae8 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) {