summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2016-09-07 18:02:11 (GMT)
committerR David Murray <rdmurray@bitdance.com>2016-09-07 18:02:11 (GMT)
commit2195d537b37c1bc12759c6ed85aba2846e7ab574 (patch)
treecf06936bb9056758d313782b981d408020b5f06c /Doc/library/socket.rst
parent91afe7ec9fc82328bc17ab6d7312489dffac2223 (diff)
parent6b46ec7733ad7391b9e008d2b273c556f140f88e (diff)
downloadcpython-2195d537b37c1bc12759c6ed85aba2846e7ab574.zip
cpython-2195d537b37c1bc12759c6ed85aba2846e7ab574.tar.gz
cpython-2195d537b37c1bc12759c6ed85aba2846e7ab574.tar.bz2
Merge: #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 4a2cf11..6909a64 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'``,