summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author180909 <wjh180909@gmail.com>2021-10-12 10:36:14 (GMT)
committerGitHub <noreply@github.com>2021-10-12 10:36:14 (GMT)
commitb37dc9b3bc9575adc039c6093c643b7ae5e917e1 (patch)
treea3e40f6d6fe885d5979dec61a4d845d19e1a0704
parent1b11582f0e00f08833da6adc44030a8b1961989a (diff)
downloadcpython-b37dc9b3bc9575adc039c6093c643b7ae5e917e1.zip
cpython-b37dc9b3bc9575adc039c6093c643b7ae5e917e1.tar.gz
cpython-b37dc9b3bc9575adc039c6093c643b7ae5e917e1.tar.bz2
bpo-45441: Update some moved URLs in documentation (GH-28861)
-rw-r--r--Doc/library/hashlib.rst2
-rw-r--r--Doc/library/html.entities.rst2
-rw-r--r--Doc/library/http.cookiejar.rst2
-rw-r--r--Doc/library/json.rst6
4 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 77b35fd..0c3bd7b 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -500,7 +500,7 @@ Keyed hashing
Keyed hashing can be used for authentication as a faster and simpler
replacement for `Hash-based message authentication code
-<https://en.wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC).
+<https://en.wikipedia.org/wiki/HMAC>`_ (HMAC).
BLAKE2 can be securely used in prefix-MAC mode thanks to the
indifferentiability property inherited from BLAKE.
diff --git a/Doc/library/html.entities.rst b/Doc/library/html.entities.rst
index 067e1b1..7d836fe 100644
--- a/Doc/library/html.entities.rst
+++ b/Doc/library/html.entities.rst
@@ -44,4 +44,4 @@ This module defines four dictionaries, :data:`html5`,
.. rubric:: Footnotes
-.. [#] See https://www.w3.org/TR/html5/syntax.html#named-character-references
+.. [#] See https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
diff --git a/Doc/library/http.cookiejar.rst b/Doc/library/http.cookiejar.rst
index 6234e65..3d59665 100644
--- a/Doc/library/http.cookiejar.rst
+++ b/Doc/library/http.cookiejar.rst
@@ -122,7 +122,7 @@ The following classes are provided:
:mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each
other.
- https://curl.haxx.se/rfc/cookie_spec.html
+ https://curl.se/rfc/cookie_spec.html
The specification of the original Netscape cookie protocol. Though this is
still the dominant protocol, the 'Netscape cookie protocol' implemented by all
the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index c8184da..6fa89f5 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -11,9 +11,9 @@
--------------
-`JSON (JavaScript Object Notation) <http://json.org>`_, specified by
+`JSON (JavaScript Object Notation) <https://json.org>`_, specified by
:rfc:`7159` (which obsoletes :rfc:`4627`) and by
-`ECMA-404 <http://www.ecma-international.org/publications/standards/Ecma-404.htm>`_,
+`ECMA-404 <https://www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_,
is a lightweight data interchange format inspired by
`JavaScript <https://en.wikipedia.org/wiki/JavaScript>`_ object literal syntax
(although it is not a strict subset of JavaScript [#rfc-errata]_ ).
@@ -544,7 +544,7 @@ Standard Compliance and Interoperability
----------------------------------------
The JSON format is specified by :rfc:`7159` and by
-`ECMA-404 <http://www.ecma-international.org/publications/standards/Ecma-404.htm>`_.
+`ECMA-404 <https://www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_.
This section details this module's level of compliance with the RFC.
For simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and
parameters other than those explicitly mentioned, are not considered.