summaryrefslogtreecommitdiffstats
path: root/Objects/bytearrayobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-11-07 19:04:46 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-11-07 19:04:46 (GMT)
commitc911bbfd5d18ac14bf24fc7a881883debcc7c7c8 (patch)
tree83159e9ebb2c06a1bb4d523f0d6f1ad97be6d013 /Objects/bytearrayobject.c
parente14e2122211081fe7e71871f77f70a0cb105dbfd (diff)
downloadcpython-c911bbfd5d18ac14bf24fc7a881883debcc7c7c8.zip
cpython-c911bbfd5d18ac14bf24fc7a881883debcc7c7c8.tar.gz
cpython-c911bbfd5d18ac14bf24fc7a881883debcc7c7c8.tar.bz2
str, bytes, bytearray docstring: remove unnecessary [...]
Diffstat (limited to 'Objects/bytearrayobject.c')
-rw-r--r--Objects/bytearrayobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index 1a50ce3..f419eee 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -2465,7 +2465,7 @@ bytearray_rstrip(PyByteArrayObject *self, PyObject *args)
}
PyDoc_STRVAR(decode_doc,
-"B.decode([encoding='utf-8'[, errors='strict']]) -> str\n\
+"B.decode(encoding='utf-8', errors='strict') -> str\n\
\n\
Decode B using the codec registered for encoding. Default encoding\n\
is 'utf-8'. errors may be given to set a different error\n\