summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-07-29 19:24:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-07-29 19:24:29 (GMT)
commit4f921c2e061507f6d93002c454e063db2acaf7ea (patch)
treef314a88508ca738ada01b5b40e4ad34ce051ae31
parentce071ca4e76b67060f55c6ed6fd9a7433cb66013 (diff)
downloadcpython-4f921c2e061507f6d93002c454e063db2acaf7ea.zip
cpython-4f921c2e061507f6d93002c454e063db2acaf7ea.tar.gz
cpython-4f921c2e061507f6d93002c454e063db2acaf7ea.tar.bz2
bytes -> bytearray
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 82fb9ad..064b847 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1895,7 +1895,7 @@ builtin_sum(PyObject *self, PyObject *args)
}
if (PyByteArray_Check(result)) {
PyErr_SetString(PyExc_TypeError,
- "sum() can't sum bytes [use b''.join(seq) instead]");
+ "sum() can't sum bytearray [use b''.join(seq) instead]");
Py_DECREF(iter);
return NULL;
}