[Python-checkins] cpython (2.7): #15796: Fix \n in readline docstring.

ezio.melotti python-checkins at python.org
Tue Sep 18 06:21:51 CEST 2012


http://hg.python.org/cpython/rev/210a189544c3
changeset:   79043:210a189544c3
branch:      2.7
parent:      79040:de6976fe19aa
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Tue Sep 18 07:17:49 2012 +0300
summary:
  #15796: Fix \n in readline docstring.

files:
  Modules/_io/iobase.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c
--- a/Modules/_io/iobase.c
+++ b/Modules/_io/iobase.c
@@ -437,7 +437,7 @@
     "\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");
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list