summaryrefslogtreecommitdiff
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-04-29 13:39:05 +0000
committerFred Drake <fdrake@acm.org>2003-04-29 13:39:05 +0000
commitd397498292bbc3dfeb761218db33a6b49200e302 (patch)
tree0467db2a7494b40e9a8be587d3fb9555f44fda80 /Doc/lib
parentebfaee1370deeb71784db684123f0cf28316ade1 (diff)
downloadcpython-d397498292bbc3dfeb761218db33a6b49200e302.tar.gz
Clarify that the timeout argument to read_until() is in seconds.
Diffstat (limited to 'Doc/lib')
-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 345adac21d..c7a4226dcc 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