[Python-checkins] python/dist/src/Lib socket.py,1.23,1.24
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Wed, 31 Jul 2002 10:48:04 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv5178
Modified Files:
socket.py
Log Message:
Restore a full arglist to the socket wrapper, so it supports keyword
arguments correctly too.
Index: socket.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/socket.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** socket.py 31 Jul 2002 17:32:11 -0000 1.23
--- socket.py 31 Jul 2002 17:48:02 -0000 1.24
***************
*** 63,68 ****
_realsocketcall = _socket.socket
! def socket(*args):
! return _socketobject(_realsocketcall(*args))
socket.__doc__ = _realsocketcall.__doc__
--- 63,68 ----
_realsocketcall = _socket.socket
! def socket(family=AF_INET, type=SOCK_STREAM, proto=0):
! return _socketobject(_realsocketcall(family, type, proto))
socket.__doc__ = _realsocketcall.__doc__