diff options
author | Fred Drake <fdrake@acm.org> | 2003-04-29 13:39:05 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-04-29 13:39:05 +0000 |
commit | d397498292bbc3dfeb761218db33a6b49200e302 (patch) | |
tree | 0467db2a7494b40e9a8be587d3fb9555f44fda80 /Doc/lib | |
parent | ebfaee1370deeb71784db684123f0cf28316ade1 (diff) | |
download | cpython-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.tex | 3 |
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 |