From: Fred Drake Date: Tue, 29 Apr 2003 13:39:05 +0000 (+0000) Subject: Clarify that the timeout argument to read_until() is in seconds. X-Git-Tag: v2.3c1~942 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83c19ee06b80f6702fb447a1e90d374ea29a41d3;p=python Clarify that the timeout argument to read_until() is in seconds. --- 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