diff options
author | Marc-André Lemburg <mal@egenix.com> | 2000-08-25 22:49:05 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2000-08-25 22:49:05 (GMT) |
commit | f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7 (patch) | |
tree | 6126bd674d9e58972a96b2109e53e9cbb500f9a0 /Objects/fileobject.c | |
parent | 28f739aad47f1022fda19e4f3d8ad1b8228d221b (diff) | |
download | cpython-f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7.zip cpython-f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7.tar.gz cpython-f5e96fa6b7db794b6c536adfcd64d01a0e6e9bb7.tar.bz2 |
Fixed a serious typo.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
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); } } |