mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fixed a serious typo.
This commit is contained in:
parent
28f739aad4
commit
f5e96fa6b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue