From: Fred Drake Date: Tue, 29 Apr 2003 13:38:42 +0000 (+0000) Subject: Clarify that the timeout argument to read_until() is in seconds. X-Git-Tag: v2.2.3c1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a3638fff5a4d069397a6d3cab6042bda0391c89;p=thirdparty%2FPython%2Fcpython.git Clarify that the timeout argument to read_until() is in seconds. --- diff --git a/Doc/lib/libtelnetlib.tex b/Doc/lib/libtelnetlib.tex index fe56f72126c0..50f511cfd6b0 100644 --- a/Doc/lib/libtelnetlib.tex +++ b/Doc/lib/libtelnetlib.tex @@ -47,7 +47,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