mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Clarify that the timeout argument to read_until() is in seconds.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user