summaryrefslogtreecommitdiffstats
path: root/Lib/json
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-09-24 11:38:53 (GMT)
committerGitHub <noreply@github.com>2022-09-24 11:38:53 (GMT)
commitdb39050396a104c73d0da473a2f00a62f9dfdfaa (patch)
tree2dfe5638f680aa797f47bd73f40bada3c49e489e /Lib/json
parentf00383ec9bb9452fd9d5f5003f123e68fc4a71d8 (diff)
downloadcpython-db39050396a104c73d0da473a2f00a62f9dfdfaa.zip
cpython-db39050396a104c73d0da473a2f00a62f9dfdfaa.tar.gz
cpython-db39050396a104c73d0da473a2f00a62f9dfdfaa.tar.bz2
gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)
Diffstat (limited to 'Lib/json')
-rw-r--r--Lib/json/__init__.py2
-rw-r--r--Lib/json/decoder.py2
-rw-r--r--Lib/json/encoder.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py
index d775fb1..256e76a 100644
--- a/Lib/json/__init__.py
+++ b/Lib/json/__init__.py
@@ -1,4 +1,4 @@
-r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
+r"""JSON (JavaScript Object Notation) <https://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
diff --git a/Lib/json/decoder.py b/Lib/json/decoder.py
index d7d8244..c5d9ae2 100644
--- a/Lib/json/decoder.py
+++ b/Lib/json/decoder.py
@@ -252,7 +252,7 @@ def JSONArray(s_and_end, scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
class JSONDecoder(object):
- """Simple JSON <http://json.org> decoder
+ """Simple JSON <https://json.org> decoder
Performs the following translations in decoding by default:
diff --git a/Lib/json/encoder.py b/Lib/json/encoder.py
index 864f46d..45f5477 100644
--- a/Lib/json/encoder.py
+++ b/Lib/json/encoder.py
@@ -72,7 +72,7 @@ encode_basestring_ascii = (
c_encode_basestring_ascii or py_encode_basestring_ascii)
class JSONEncoder(object):
- """Extensible JSON <http://json.org> encoder for Python data structures.
+ """Extensible JSON <https://json.org> encoder for Python data structures.
Supports the following objects and types by default: