summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsocket.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-20 04:24:09 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-20 04:24:09 (GMT)
commit0aa811c527372fbee0e20192bba3cf343a744e08 (patch)
treeab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/lib/libsocket.tex
parent64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff)
downloadcpython-0aa811c527372fbee0e20192bba3cf343a744e08.zip
cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz
cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.bz2
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r--Doc/lib/libsocket.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index e8109eb..8fd624c 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -271,7 +271,7 @@ the name of a PEM formatted file that contains your private
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 @@ to the socket on the other end of the connection.
\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 @@ Sockets are automatically closed when they are garbage-collected.
\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 @@ instead of raising an exception for errors returned by the C-level
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}{}