summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorMotoki Naruse <motoki@naru.se>2022-04-30 21:52:13 (GMT)
committerGitHub <noreply@github.com>2022-04-30 21:52:13 (GMT)
commitea392467829d6e93f824bde8eb87bdb31d9e4c62 (patch)
tree220d2a1c1eba1690d6c34c7276bafc92313b99b8 /Doc/library/ssl.rst
parent567be058b403db9689af45bf831d4c732c8b1105 (diff)
downloadcpython-ea392467829d6e93f824bde8eb87bdb31d9e4c62.zip
cpython-ea392467829d6e93f824bde8eb87bdb31d9e4c62.tar.gz
cpython-ea392467829d6e93f824bde8eb87bdb31d9e4c62.tar.bz2
gh-91611: Use example.com for documentation, not mydomain.com (#91613)
example.com is reserved by the IANA as special-use domain name for documentation purposes. The domain names are used widely in books, tutorials, sample network configurations, and generally as examples for the use of domain name. On the other hand, mydomain.com is real Domain Name Registration service.
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 04818f8..54bd335 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -2357,7 +2357,7 @@ waiting for clients to connect::
context.load_cert_chain(certfile="mycertfile", keyfile="mykeyfile")
bindsocket = socket.socket()
- bindsocket.bind(('myaddr.mydomain.com', 10023))
+ bindsocket.bind(('myaddr.example.com', 10023))
bindsocket.listen(5)
When a client connects, you'll call :meth:`accept` on the socket to get the