summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-08-25 22:49:05 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2000-08-25 22:49:05 (GMT)
commitf5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7 (patch)
tree6126bd674d9e58972a96b2109e53e9cbb500f9a0 /Objects
parent28f739aad47f1022fda19e4f3d8ad1b8228d221b (diff)
downloadcpython-f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7.zip
cpython-f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7.tar.gz
cpython-f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7.tar.bz2
Fixed a serious typo.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 8966f8c..beb36b5 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);
}
}