summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-04-29 13:39:05 (GMT)
committerFred Drake <fdrake@acm.org>2003-04-29 13:39:05 (GMT)
commit83c19ee06b80f6702fb447a1e90d374ea29a41d3 (patch)
tree30bf900be28ce42c377a938319af9ebe34ba99ba /Doc
parenta3c253e83b248df1562c3ac2a5be3cf3504432f8 (diff)
downloadcpython-83c19ee06b80f6702fb447a1e90d374ea29a41d3.zip
cpython-83c19ee06b80f6702fb447a1e90d374ea29a41d3.tar.gz
cpython-83c19ee06b80f6702fb447a1e90d374ea29a41d3.tar.bz2
Clarify that the timeout argument to read_until() is in seconds.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libtelnetlib.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libtelnetlib.tex b/Doc/lib/libtelnetlib.tex
index 345adac..c7a4226 100644
--- a/Doc/lib/libtelnetlib.tex
+++ b/Doc/lib/libtelnetlib.tex
@@ -53,7 +53,8 @@ individual descriptions below.
\begin{methoddesc}{read_until}{expected\optional{, timeout}}
-Read until a given string is encountered or until timeout.
+Read until a given string, \var{expected}, is encountered or until
+\var{timeout} seconds have passed.
When no match is found, return whatever is available instead,
possibly the empty string. Raise \exception{EOFError} if the connection