mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
Fixed a serious typo.
This commit is contained in:
parent
28f739aad4
commit
f5e96fa6b7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user