[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.100,1.101
Guido van Rossum
python-dev@python.org
Tue, 4 Apr 2000 11:09:10 -0400 (EDT)
Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules
Modified Files:
socketmodule.c
Log Message:
Add warning that multi-arg connect() etc. are deprecated.
Index: socketmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -r1.100 -r1.101
*** socketmodule.c 2000/04/04 14:10:20 1.100
--- socketmodule.c 2000/04/04 15:09:07 1.101
***************
*** 69,73 ****
(NB: an argument list of the form (sockaddr...) means that multiple
arguments are treated the same as a single tuple argument, for backwards
! compatibility.)
- s.accept() --> new socket object, sockaddr
--- 69,73 ----
(NB: an argument list of the form (sockaddr...) means that multiple
arguments are treated the same as a single tuple argument, for backwards
! compatibility. This is deprecated, and will be removed in future versions.)
- s.accept() --> new socket object, sockaddr