summaryrefslogtreecommitdiffstats
path: root/Doc/library/secrets.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-01 04:02:51 (GMT)
committerGitHub <noreply@github.com>2022-05-01 04:02:51 (GMT)
commitcef3a994c7c966511563edc45292ec8f69770268 (patch)
tree4cd71eabd0ed9c27191968f00db14984c9621b77 /Doc/library/secrets.rst
parent2e84e97656cf4929bc887b9a212a12138382e807 (diff)
downloadcpython-cef3a994c7c966511563edc45292ec8f69770268.zip
cpython-cef3a994c7c966511563edc45292ec8f69770268.tar.gz
cpython-cef3a994c7c966511563edc45292ec8f69770268.tar.bz2
gh-91611: Use example.com for documentation, not mydomain.com (GH-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. (cherry picked from commit ea392467829d6e93f824bde8eb87bdb31d9e4c62) Co-authored-by: Motoki Naruse <motoki@naru.se>
Diffstat (limited to 'Doc/library/secrets.rst')
-rw-r--r--Doc/library/secrets.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/secrets.rst b/Doc/library/secrets.rst
index afa8e2d..c22da72 100644
--- a/Doc/library/secrets.rst
+++ b/Doc/library/secrets.rst
@@ -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()