diff options
author | Guido van Rossum <guido@python.org> | 2000-04-04 15:09:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-04 15:09:07 (GMT) |
commit | b49dc75f514cc5d81489fe4c9d90097245c2ac77 (patch) | |
tree | 5eab5e8d624e691ddb25f17fe78efec78790e7fe | |
parent | 527c9bd32a5ee812516f7fce4d3e39e1ffe11c01 (diff) | |
download | cpython-b49dc75f514cc5d81489fe4c9d90097245c2ac77.zip cpython-b49dc75f514cc5d81489fe4c9d90097245c2ac77.tar.gz cpython-b49dc75f514cc5d81489fe4c9d90097245c2ac77.tar.bz2 |
Add warning that multi-arg connect() etc. are deprecated.
-rw-r--r-- | Modules/socketmodule.c | 2 |
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 |