diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-01 04:02:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-01 04:02:51 (GMT) |
commit | cef3a994c7c966511563edc45292ec8f69770268 (patch) | |
tree | 4cd71eabd0ed9c27191968f00db14984c9621b77 /Doc/library/secrets.rst | |
parent | 2e84e97656cf4929bc887b9a212a12138382e807 (diff) | |
download | cpython-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.rst | 2 |
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() |