mirror of https://github.com/python/cpython.git
Fixed a serious typo.
This commit is contained in:
parent
28f739aad4
commit
f5e96fa6b7
|
@ -1020,7 +1020,7 @@ file_writelines(PyFileObject *f, PyObject *args)
|
||||||
if (line == NULL)
|
if (line == NULL)
|
||||||
goto error;
|
goto error;
|
||||||
Py_DECREF(v);
|
Py_DECREF(v);
|
||||||
PyList_SET_ITEM(list, i, v);
|
PyList_SET_ITEM(list, i, line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue