mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
|
@ -49,6 +49,7 @@ the server at the same host and port:
|
|||
>>> h3 = httplib.HTTPConnection('www.cwi.nl', 80, timeout=10)
|
||||
\end{verbatim}
|
||||
\versionadded{2.0}
|
||||
\versionchanged[\var{timeout} was added]{2.6}
|
||||
\end{classdesc}
|
||||
|
||||
\begin{classdesc}{HTTPSConnection}{host\optional{, port\optional{,
|
||||
|
@ -63,6 +64,7 @@ key. \var{cert_file} is a PEM formatted certificate chain file.
|
|||
\warning{This does not do any certificate verification!}
|
||||
|
||||
\versionadded{2.0}
|
||||
\versionchanged[\var{timeout} was added]{2.6}
|
||||
\end{classdesc}
|
||||
|
||||
\begin{classdesc}{HTTPResponse}{sock\optional{, debuglevel=0}\optional{, strict=0}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue