[Python-checkins] python/dist/src/Doc/lib libsocket.tex,1.79,1.80

fdrake at projects.sourceforge.net fdrake at projects.sourceforge.net
Tue Jan 27 13:21:29 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15923

Modified Files:
	libsocket.tex 
Log Message:
update signature of the socket constructor
(could someone backport this to Python 2.3.x please?)


Index: libsocket.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsocket.tex,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** libsocket.tex	13 Dec 2003 22:12:53 -0000	1.79
--- libsocket.tex	27 Jan 2004 18:21:26 -0000	1.80
***************
*** 277,286 ****
  \end{funcdesc}
  
! \begin{funcdesc}{socket}{family, type\optional{, proto}}
  Create a new socket using the given address family, socket type and
! protocol number.  The address family should be \constant{AF_INET}, \constant{AF_INET6} or
! \constant{AF_UNIX}.  The socket type should be \constant{SOCK_STREAM},
! \constant{SOCK_DGRAM} or perhaps one of the other \samp{SOCK_} constants.
! The protocol number is usually zero and may be omitted in that case.
  \end{funcdesc}
  
--- 277,288 ----
  \end{funcdesc}
  
! \begin{funcdesc}{socket}{\optional{family\optional{,
!                          type\optional{, proto}}}}
  Create a new socket using the given address family, socket type and
! protocol number.  The address family should be \constant{AF_INET} (the
! default), \constant{AF_INET6} or \constant{AF_UNIX}.  The socket type
! should be \constant{SOCK_STREAM} (the default), \constant{SOCK_DGRAM}
! or perhaps one of the other \samp{SOCK_} constants.  The protocol
! number is usually zero and may be omitted in that case.
  \end{funcdesc}
  




More information about the Python-checkins mailing list