diff options
author | Fred Drake <fdrake@acm.org> | 2003-04-29 13:39:05 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-04-29 13:39:05 (GMT) |
commit | 83c19ee06b80f6702fb447a1e90d374ea29a41d3 (patch) | |
tree | 30bf900be28ce42c377a938319af9ebe34ba99ba /Doc | |
parent | a3c253e83b248df1562c3ac2a5be3cf3504432f8 (diff) | |
download | cpython-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.tex | 3 |
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 |