mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Added versionchanged flag to all the methods which received
a new optional timeout parameter, and a versionadded flag to the socket.create_connection function.
This commit is contained in:
parent
410c3b58c9
commit
3ed365be0e
7 changed files with 17 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ made. When \var{user} is given, additionally the method call
|
|||
The optional \var{timeout} parameter specifies a timeout in seconds for the
|
||||
connection attempt (if is not specified, or passed as None, the global
|
||||
default timeout setting will be used).
|
||||
\versionchanged[\var{timeout} was added]{2.6}
|
||||
\end{classdesc}
|
||||
|
||||
\begin{datadesc}{all_errors}
|
||||
|
|
@ -117,6 +118,8 @@ the connection attempt. If is not specified, or passed as None, the
|
|||
object timeout is used (the timeout that you passed when instantiating the
|
||||
class); if the object timeout is also None, the global default timeout
|
||||
setting will be used.
|
||||
|
||||
\versionchanged[\var{timeout} was added]{2.6}
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[FTP]{getwelcome}{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue