mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
AMK's megapatch:
* \bcode, \ecode added everywhere * \label{module-foo} added everywhere * A few \seealso sections added. * Indentation fixed inside verbatim in lib*tex files
This commit is contained in:
parent
3c2a056fdd
commit
e47da0ae04
196 changed files with 1068 additions and 859 deletions
|
@ -1,4 +1,5 @@
|
|||
\section{Built-in Module \sectcode{socket}}
|
||||
\label{module-socket}
|
||||
|
||||
\bimodindex{socket}
|
||||
This module provides access to the BSD {\em socket} interface.
|
||||
|
@ -336,7 +337,7 @@ while 1:
|
|||
conn.send(data)
|
||||
conn.close()
|
||||
\end{verbatim}\ecode
|
||||
|
||||
%
|
||||
\bcode\begin{verbatim}
|
||||
# Echo client program
|
||||
from socket import *
|
||||
|
@ -349,3 +350,7 @@ data = s.recv(1024)
|
|||
s.close()
|
||||
print 'Received', `data`
|
||||
\end{verbatim}\ecode
|
||||
%
|
||||
\begin{seealso}
|
||||
\seemodule{SocketServer}{classes that simplify writing network servers}
|
||||
\end{seealso}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue