Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 12229:7859c0a4ad95 legacy-trunk
Add warning that multi-arg connect() etc. are deprecated.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 04 Apr 2000 15:09:07 +0000 |
| parents | 77b02e53f666 |
| children | 57f34e162e67 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue Apr 04 14:10:20 2000 +0000 +++ b/Modules/socketmodule.c Tue Apr 04 15:09:07 2000 +0000 @@ -68,7 +68,7 @@ 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
