From f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lemburg?= Date: Fri, 25 Aug 2000 22:49:05 +0000 Subject: [PATCH] Fixed a serious typo. --- Objects/fileobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 8966f8cac82..beb36b5a08b 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -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); } }