From: Guido van Rossum Date: Tue, 4 Apr 2000 15:09:07 +0000 (+0000) Subject: Add warning that multi-arg connect() etc. are deprecated. X-Git-Tag: v1.6a2~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b49dc75f514cc5d81489fe4c9d90097245c2ac77;p=python Add warning that multi-arg connect() etc. are deprecated. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 766edf7af3..bc8c9ae617 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