summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-01-22 20:31:21 (GMT)
committerGeorg Brandl <georg@python.org>2012-01-22 20:31:21 (GMT)
commitbeca27a394d4e3988a4c08e670a5b42f1e7eb4a0 (patch)
treea5759bba4ffdac92206609c72c3c22b00ac0ec09 /Objects/bytesobject.c
parent886455cc4eddbe63a81d775f9b821d5a39d79d8f (diff)
downloadcpython-beca27a394d4e3988a4c08e670a5b42f1e7eb4a0.zip
cpython-beca27a394d4e3988a4c08e670a5b42f1e7eb4a0.tar.gz
cpython-beca27a394d4e3988a4c08e670a5b42f1e7eb4a0.tar.bz2
Fix #13834: strip() strips leading and trailing whitespace.
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r--Objects/bytesobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 8249e5f..a0d4cbd 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)
{