]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#15796: Fix \n in readline docstring.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 18 Sep 2012 04:17:49 +0000 (07:17 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 18 Sep 2012 04:17:49 +0000 (07:17 +0300)
Modules/_io/iobase.c

index 176761d5379de5fc1bdc0f5beb035c82a2b5ee0f..caf85d5954813b3768c309254710b51d8607441f 100644 (file)
@@ -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");