cpython: 351b987d6d1c (original) (raw)
Mercurial > cpython
changeset 102786:351b987d6d1c
sys_pyfile_write_unicode() now uses fast call Issue #27128. [#27128]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Sat, 20 Aug 2016 01:24:22 +0200 |
parents | 154f78d387f9 |
children | abb93035ebb7 |
files | Python/sysmodule.c |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-)[+] [-] Python/sysmodule.c 9 |
line wrap: on
line diff
--- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -2112,7 +2112,7 @@ PySys_SetArgv(int argc, wchar_t **argv) static int sys_pyfile_write_unicode(PyObject *unicode, PyObject *file) {
- PyObject *writer = NULL, *result = NULL; int err; if (file == NULL) @@ -2122,11 +2122,7 @@ sys_pyfile_write_unicode(PyObject *unico if (writer == NULL) goto error;