Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libsocket.tex @ 20580:376ee174ecd0 legacy-trunk
Use the \note and \warning macros where appropriate.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 20 Oct 2001 04:24:09 +0000 |
| parents | 5af6c89c8cb7 |
| children | 3b09ea723ece |
line wrap: on
line diff
--- a/Doc/lib/libsocket.tex Sat Oct 20 04:18:14 2001 +0000 +++ b/Doc/lib/libsocket.tex Sat Oct 20 04:24:09 2001 +0000 @@ -271,7 +271,7 @@ key. \var{certfile} is a PEM formatted certificate chain file. On success, a new \class{SSLObject} is returned. -\strong{Warning:} This does not do any certificate verification! +\warning{This does not do any certificate verification!} \end{funcdesc} \begin{funcdesc}{fromfd}{fd, family, type\optional{, proto}} @@ -373,10 +373,10 @@ \begin{methoddesc}[socket]{bind}{address} Bind the socket to \var{address}. The socket must not already be bound. (The format of \var{address} depends on the address family --- see -above.) \strong{Note:} This method has historically accepted a pair +above.) \note{This method has historically accepted a pair of parameters for \constant{AF_INET} addresses instead of only a tuple. This was never intentional and is no longer be available in -Python 2.0. +Python 2.0.} \end{methoddesc} \begin{methoddesc}[socket]{close}{} @@ -388,10 +388,10 @@ \begin{methoddesc}[socket]{connect}{address} Connect to a remote socket at \var{address}. (The format of \var{address} depends on the address family --- see -above.) \strong{Note:} This method has historically accepted a pair +above.) \note{This method has historically accepted a pair of parameters for \constant{AF_INET} addresses instead of only a tuple. This was never intentional and is no longer available in -Python 2.0 and later. +Python 2.0 and later.} \end{methoddesc} \begin{methoddesc}[socket]{connect_ex}{address} @@ -401,10 +401,10 @@ can still raise exceptions). The error indicator is \code{0} if the operation succeeded, otherwise the value of the \cdata{errno} variable. This is useful, e.g., for asynchronous connects. -\strong{Note:} This method has historically accepted a pair of +\note{This method has historically accepted a pair of parameters for \constant{AF_INET} addresses instead of only a tuple. This was never intentional and is no longer be available in Python -2.0 and later. +2.0 and later.} \end{methoddesc} \begin{methoddesc}[socket]{fileno}{}
