Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/secrets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ suitable for password recovery applications:
.. testcode::

import secrets
url = 'https://mydomain.com/reset=' + secrets.token_urlsafe()
url = 'https://example.com/reset=' + secrets.token_urlsafe()



Expand Down
2 changes: 1 addition & 1 deletion Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down