From: Ezio Melotti Date: Tue, 18 Sep 2012 04:17:49 +0000 (+0300) Subject: #15796: Fix \n in readline docstring. X-Git-Tag: v2.7.4rc1~555 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba372a59d1fc9839a65d9ab3fef372acd4e5ee60;p=thirdparty%2FPython%2Fcpython.git #15796: Fix \n in readline docstring. --- diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c index 176761d5379d..caf85d595481 100644 --- a/Modules/_io/iobase.c +++ b/Modules/_io/iobase.c @@ -437,7 +437,7 @@ PyDoc_STRVAR(iobase_readline_doc, "\n" "If limit is specified, at most limit bytes will be read.\n" "\n" - "The line terminator is always b'\n' for binary files; for text\n" + "The line terminator is always b'\\n' for binary files; for text\n" "files, the newlines argument to open can be used to select the line\n" "terminator(s) recognized.\n");