[issue16266] Typo in tutorial

2012-10-17 Thread Yongzhi Pan
New submission from Yongzhi Pan: http://docs.python.org/py3k/tutorial/inputoutput.html#reading-and-writing-files The text: In text mode, the default is to convert platform-specific line endings (\n on Unix, \r\n on Windows) to just \n on reading and \n back to platform-specific line endings

[issue16266] Typo in tutorial

2012-10-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm not native English speaker, but for me it just means \r\n - \n when read from stream and \n - \r\n when write to stream if OS is Windows. That's correct. -- nosy: +asvetlov, chris.jerdonek ___ Python tracker

[issue16266] Typo in tutorial

2012-10-17 Thread Chris Jerdonek
Chris Jerdonek added the comment: The last \n is needed for the reason Andrew mentioned, but it is true that the sentence could probably be rephrased to reduce the chance of confusion. -- ___ Python tracker rep...@bugs.python.org