Fixed a serious typo.

This commit is contained in:
Marc-André Lemburg 2000-08-25 22:49:05 +00:00
parent 28f739aad4
commit f5e96fa6b7

View File

@ -1020,7 +1020,7 @@ file_writelines(PyFileObject *f, PyObject *args)
if (line == NULL)
goto error;
Py_DECREF(v);
PyList_SET_ITEM(list, i, v);
PyList_SET_ITEM(list, i, line);
}
}