Merge typo fixes from 3.4 into 3.5

This commit is contained in:
Martin Panter 2015-10-07 11:01:47 +00:00
commit 3f930dcd87
9 changed files with 9 additions and 9 deletions

View file

@ -750,7 +750,7 @@ _io_StringIO___init___impl(stringio *self, PyObject *value,
/* If newline == "", we don't translate anything.
If newline == "\n" or newline == None, we translate to "\n", which is
a no-op.
(for newline == None, TextIOWrapper translates to os.sepline, but it
(for newline == None, TextIOWrapper translates to os.linesep, but it
is pointless for StringIO)
*/
if (newline != NULL && newline[0] == '\r') {