diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-29 19:24:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-29 19:24:29 (GMT) |
commit | 4f921c2e061507f6d93002c454e063db2acaf7ea (patch) | |
tree | f314a88508ca738ada01b5b40e4ad34ce051ae31 | |
parent | ce071ca4e76b67060f55c6ed6fd9a7433cb66013 (diff) | |
download | cpython-4f921c2e061507f6d93002c454e063db2acaf7ea.zip cpython-4f921c2e061507f6d93002c454e063db2acaf7ea.tar.gz cpython-4f921c2e061507f6d93002c454e063db2acaf7ea.tar.bz2 |
bytes -> bytearray
-rw-r--r-- | Python/bltinmodule.c | 2 |
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; } |