diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-09-07 18:01:23 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-09-07 18:01:23 (GMT) |
commit | 6b46ec7733ad7391b9e008d2b273c556f140f88e (patch) | |
tree | f3324b5491993850a7649d2a5bf42c7efd4795ae /Doc/library/socket.rst | |
parent | c2e2473bc210ff83c2cbc73c4b916893f773b480 (diff) | |
download | cpython-6b46ec7733ad7391b9e008d2b273c556f140f88e.zip cpython-6b46ec7733ad7391b9e008d2b273c556f140f88e.tar.gz cpython-6b46ec7733ad7391b9e008d2b273c556f140f88e.tar.bz2 |
#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r-- | Doc/library/socket.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 02f2350..79c7609 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -63,6 +63,8 @@ created. Socket addresses are represented as follows: .. versionchanged:: 3.5 Writable :term:`bytes-like object` is now accepted. +.. _host_port: + - A pair ``(host, port)`` is used for the :const:`AF_INET` address family, where *host* is a string representing either a hostname in Internet domain notation like ``'daring.cwi.nl'`` or an IPv4 address like ``'100.50.200.5'``, |