Commit 01aa4d1f authored by Benjamin Peterson's avatar Benjamin Peterson

bytes -> bytearray

parent 704c68b6
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment