summaryrefslogtreecommitdiff
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-01-22 21:31:21 +0100
committerGeorg Brandl <georg@python.org>2012-01-22 21:31:21 +0100
commitbeca27a394d4e3988a4c08e670a5b42f1e7eb4a0 (patch)
treea5759bba4ffdac92206609c72c3c22b00ac0ec09 /Objects/bytesobject.c
parent886455cc4eddbe63a81d775f9b821d5a39d79d8f (diff)
downloadcpython-git-beca27a394d4e3988a4c08e670a5b42f1e7eb4a0.tar.gz
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 8249e5f6df..a0d4cbd9ae 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)
{