summaryrefslogtreecommitdiffstats
path: root/Doc/libsocket.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-17 06:33:25 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-17 06:33:25 (GMT)
commitcce1090d49ba91cdc06c60d8a2af04d057abe7dc (patch)
tree8b866b9986508cfb7cec89ab4fb5e1c269756b8f /Doc/libsocket.tex
parentc9a4438c16c66af5b196adf172fd3416ac4ec9d3 (diff)
downloadcpython-cce1090d49ba91cdc06c60d8a2af04d057abe7dc.zip
cpython-cce1090d49ba91cdc06c60d8a2af04d057abe7dc.tar.gz
cpython-cce1090d49ba91cdc06c60d8a2af04d057abe7dc.tar.bz2
Change "\," to just "," in function signatures. This is easier to maintain,
works better with LaTeX2HTML, and allows some simplification of the python.sty macros.
Diffstat (limited to 'Doc/libsocket.tex')
-rw-r--r--Doc/libsocket.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libsocket.tex b/Doc/libsocket.tex
index 913bb8f..aff99d4 100644
--- a/Doc/libsocket.tex
+++ b/Doc/libsocket.tex
@@ -260,7 +260,7 @@ specifies the maximum number of queued connections and should be at
least 1; the maximum value is system-dependent (usually 5).
\end{funcdesc}
-\begin{funcdesc}{makefile}{\optional{mode\optional{\, bufsize}}}
+\begin{funcdesc}{makefile}{\optional{mode\optional{, bufsize}}}
Return a \dfn{file object} associated with the socket. (File objects
were described earlier in \ref{bltin-file-objects}, ``File Objects.'')
The file object references a \cfunction{dup()}ped version of the
@@ -293,7 +293,7 @@ socket. The optional \var{flags} argument has the same meaning as for
\method{recv()} above. Returns the number of bytes sent.
\end{funcdesc}
-\begin{funcdesc}{sendto}{string\optional{\, flags}\, address}
+\begin{funcdesc}{sendto}{string\optional{, flags}, address}
Send data to the socket. The socket should not be connected to a
remote socket, since the destination socket is specified by
\var{address}. The optional \var{flags} argument has the same
@@ -310,7 +310,7 @@ immediately dispose of the data, a \exception{error} exception is
raised; in blocking mode, the calls block until they can proceed.
\end{funcdesc}
-\begin{funcdesc}{setsockopt}{level\, optname\, value}
+\begin{funcdesc}{setsockopt}{level, optname, value}
Set the value of the given socket option (see the \UNIX{} man page
\manpage{setsockopt}{2}). The needed symbolic constants are defined in
the \module{socket} module (\code{SO_*} etc.). The value can be an