summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-30 16:35:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-30 16:35:25 (GMT)
commit8ec619f60e6f451790be09039896a2ae11198fac (patch)
tree6a0f29935e32f3792d072bb9701cedab567f913d /Doc
parent472b9a3f06c4c5cb1922e9aeaa9de121e54cf75c (diff)
downloadcpython-8ec619f60e6f451790be09039896a2ae11198fac.zip
cpython-8ec619f60e6f451790be09039896a2ae11198fac.tar.gz
cpython-8ec619f60e6f451790be09039896a2ae11198fac.tar.bz2
Note that readline returns '' on EOF, not "EOF" (whatever that may be).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libmultifile.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libmultifile.tex b/Doc/lib/libmultifile.tex
index 0741aa1..ce8b7d2 100644
--- a/Doc/lib/libmultifile.tex
+++ b/Doc/lib/libmultifile.tex
@@ -49,7 +49,7 @@ boundary will raise an error.
\begin{methoddesc}{readline}{str}
Read a line. If the line is data (not a section-divider or end-marker
or real EOF) return it. If the line matches the most-recently-stacked
-boundary, return EOF and set \code{self.last} to 1 or 0 according as
+boundary, return \code{''} and set \code{self.last} to 1 or 0 according as
the match is or is not an end-marker. If the line matches any other
stacked boundary, raise an error. If the line is a real EOF, raise an
error unless all boundaries have been popped.