mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix typo.
This commit is contained in:
parent
f8b893ec62
commit
f3fa5685e8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue