File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ PyDoc_STRVAR(open_doc,
185185"\n"
186186"* On output, if newline is None, any '\\n' characters written are\n"
187187" translated to the system default line separator, os.linesep. If\n"
188- " newline is '' or '\n', no translation takes place. If newline is any\n"
188+ " newline is '' or '\\ n', no translation takes place. If newline is any\n"
189189" of the other legal values, any '\\n' characters written are translated\n"
190190" to the given string.\n"
191191"\n"
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ PyDoc_STRVAR(iobase_readline_doc,
442442 "\n"
443443 "If limit is specified, at most limit bytes will be read.\n"
444444 "\n"
445- "The line terminator is always b'\n' for binary files; for text\n"
445+ "The line terminator is always b'\\ n' for binary files; for text\n"
446446 "files, the newlines argument to open can be used to select the line\n"
447447 "terminator(s) recognized.\n" );
448448
Original file line number Diff line number Diff line change @@ -648,7 +648,7 @@ PyDoc_STRVAR(textiowrapper_doc,
648648 "\n"
649649 "* On output, if newline is None, any '\\n' characters written are\n"
650650 " translated to the system default line separator, os.linesep. If\n"
651- " newline is '' or '\n', no translation takes place. If newline is any\n"
651+ " newline is '' or '\\ n', no translation takes place. If newline is any\n"
652652 " of the other legal values, any '\\n' characters written are translated\n"
653653 " to the given string.\n"
654654 "\n"
You can’t perform that action at this time.
0 commit comments