Kaydet (Commit) 4f921c2e authored tarafından Benjamin Peterson's avatar Benjamin Peterson

bytes -> bytearray

üst ce071ca4
......@@ -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