mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
This commit is contained in:
parent
bcc74d509a
commit
f79547a429
40 changed files with 72 additions and 72 deletions
|
@ -226,7 +226,7 @@ Basic Usage
|
|||
*object_hook* is an optional function that will be called with the result of
|
||||
any object literal decoded (a :class:`dict`). The return value of
|
||||
*object_hook* will be used instead of the :class:`dict`. This feature can be used
|
||||
to implement custom decoders (e.g. `JSON-RPC <http://www.jsonrpc.org>`_
|
||||
to implement custom decoders (e.g. `JSON-RPC <https://www.jsonrpc.org>`_
|
||||
class hinting).
|
||||
|
||||
*object_pairs_hook* is an optional function that will be called with the
|
||||
|
@ -326,7 +326,7 @@ Encoders and Decoders
|
|||
*object_hook*, if specified, will be called with the result of every JSON
|
||||
object decoded and its return value will be used in place of the given
|
||||
:class:`dict`. This can be used to provide custom deserializations (e.g. to
|
||||
support `JSON-RPC <http://www.jsonrpc.org>`_ class hinting).
|
||||
support `JSON-RPC <https://www.jsonrpc.org>`_ class hinting).
|
||||
|
||||
*object_pairs_hook*, if specified will be called with the result of every
|
||||
JSON object decoded with an ordered list of pairs. The return value of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue