summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-04 15:09:07 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-04 15:09:07 (GMT)
commitb49dc75f514cc5d81489fe4c9d90097245c2ac77 (patch)
tree5eab5e8d624e691ddb25f17fe78efec78790e7fe /Modules
parent527c9bd32a5ee812516f7fce4d3e39e1ffe11c01 (diff)
downloadcpython-b49dc75f514cc5d81489fe4c9d90097245c2ac77.zip
cpython-b49dc75f514cc5d81489fe4c9d90097245c2ac77.tar.gz
cpython-b49dc75f514cc5d81489fe4c9d90097245c2ac77.tar.bz2
Add warning that multi-arg connect() etc. are deprecated.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
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