Fix typo.

This commit is contained in:
Georg Brandl 2010-12-04 17:09:30 +00:00
parent f8b893ec62
commit f3fa5685e8

View file

@ -589,7 +589,7 @@ bytearray_ass_subscript(PyByteArrayObject *self, PyObject *index, PyObject *valu
needed = 0; needed = 0;
} }
else if (values == (PyObject *)self || !PyByteArray_Check(values)) { else if (values == (PyObject *)self || !PyByteArray_Check(values)) {
/* Make a copy an call this function recursively */ /* Make a copy and call this function recursively */
int err; int err;
values = PyByteArray_FromObject(values); values = PyByteArray_FromObject(values);
if (values == NULL) if (values == NULL)