From b49dc75f514cc5d81489fe4c9d90097245c2ac77 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 4 Apr 2000 15:09:07 +0000 Subject: Add warning that multi-arg connect() etc. are deprecated. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 766edf7..bc8c9ae 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -68,7 +68,7 @@ Module interface: Socket methods: (NB: an argument list of the form (sockaddr...) means that multiple arguments are treated the same as a single tuple argument, for backwards -compatibility.) +compatibility. This is deprecated, and will be removed in future versions.) - s.accept() --> new socket object, sockaddr - s.bind(sockaddr...) --> None -- cgit v0.12