Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f921c2

Browse files
committed
bytes -> bytearray
1 parent ce071ca commit 4f921c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ builtin_sum(PyObject *self, PyObject *args)
18951895
}
18961896
if (PyByteArray_Check(result)) {
18971897
PyErr_SetString(PyExc_TypeError,
1898-
"sum() can't sum bytes [use b''.join(seq) instead]");
1898+
"sum() can't sum bytearray [use b''.join(seq) instead]");
18991899
Py_DECREF(iter);
19001900
return NULL;
19011901
}

0 commit comments

Comments
 (0)