Commit f5e96fa6 authored by Marc-André Lemburg's avatar Marc-André Lemburg

Fixed a serious typo.

parent 28f739aa
...@@ -1020,7 +1020,7 @@ file_writelines(PyFileObject *f, PyObject *args) ...@@ -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);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment