diff options
author | Steve Dower <steve.dower@microsoft.com> | 2017-02-04 17:37:00 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2017-02-04 17:37:00 -0800 |
commit | a51d84bfb3b7f82b4b4e22c385cc7966378ae5c2 (patch) | |
tree | f09060bdd9bc041fc2942698eb7a46ea77b8e0fd /Modules/_io/stringio.c | |
parent | 2af0fb8818763f1942666dae0835baeab65340fc (diff) | |
parent | cd72452eb70eeaed8cd39282a2bad320bc922f41 (diff) | |
download | cpython-a51d84bfb3b7f82b4b4e22c385cc7966378ae5c2.tar.gz |
Merge from 3.6
Diffstat (limited to 'Modules/_io/stringio.c')
-rw-r--r-- | Modules/_io/stringio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c index 8542efd972..93c8b47de3 100644 --- a/Modules/_io/stringio.c +++ b/Modules/_io/stringio.c @@ -693,7 +693,7 @@ _io_StringIO___init___impl(stringio *self, PyObject *value, PyObject *newline_obj) /*[clinic end generated code: output=a421ea023b22ef4e input=cee2d9181b2577a3]*/ { - char *newline = "\n"; + const char *newline = "\n"; Py_ssize_t value_len; /* Parse the newline argument. We only want to allow unicode objects or |