summaryrefslogtreecommitdiffstats
path: root/Doc
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 /Doc
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 'Doc')
-rw-r--r--Doc/about.rst2
-rw-r--r--Doc/faq/general.rst4
-rw-r--r--Doc/faq/library.rst2
-rw-r--r--Doc/faq/programming.rst2
-rw-r--r--Doc/howto/unicode.rst2
-rw-r--r--Doc/library/bisect.rst2
-rw-r--r--Doc/library/decimal.rst2
-rw-r--r--Doc/library/mailbox.rst2
-rw-r--r--Doc/library/multiprocessing.shared_memory.rst2
-rw-r--r--Doc/library/pickle.rst2
-rw-r--r--Doc/library/random.rst4
-rw-r--r--Doc/tutorial/inputoutput.rst2
-rw-r--r--Doc/whatsnew/2.6.rst6
-rw-r--r--Doc/whatsnew/3.1.rst2
14 files changed, 18 insertions, 18 deletions
diff --git a/Doc/about.rst b/Doc/about.rst
index 0ce3566..5e6160f 100644
--- a/Doc/about.rst
+++ b/Doc/about.rst
@@ -7,7 +7,7 @@ These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a
document processor specifically written for the Python documentation.
.. _reStructuredText: https://docutils.sourceforge.io/rst.html
-.. _Sphinx: http://sphinx-doc.org/
+.. _Sphinx: https://www.sphinx-doc.org/
.. In the online version of these documents, you can submit comments and suggest
changes directly on the documentation pages.
diff --git a/Doc/faq/general.rst b/Doc/faq/general.rst
index 6c7e4fc..988f057 100644
--- a/Doc/faq/general.rst
+++ b/Doc/faq/general.rst
@@ -182,7 +182,7 @@ at https://docs.python.org/3/. PDF, plain text, and downloadable HTML versions
also available at https://docs.python.org/3/download.html.
The documentation is written in reStructuredText and processed by `the Sphinx
-documentation tool <http://sphinx-doc.org/>`__. The reStructuredText source for
+documentation tool <https://www.sphinx-doc.org/>`__. The reStructuredText source for
the documentation is part of the Python source distribution.
@@ -264,7 +264,7 @@ Where in the world is www.python.org located?
---------------------------------------------
The Python project's infrastructure is located all over the world and is managed
-by the Python Infrastructure Team. Details `here <http://infra.psf.io>`__.
+by the Python Infrastructure Team. Details `here <https://infra.psf.io>`__.
Why is it called Python?
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
index 8167bf2..ad83989 100644
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -181,7 +181,7 @@ How do I create documentation from doc strings?
The :mod:`pydoc` module can create HTML from the doc strings in your Python
source code. An alternative for creating API documentation purely from
docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx
-<http://sphinx-doc.org>`_ can also include docstring content.
+<https://www.sphinx-doc.org>`_ can also include docstring content.
How do I get a single keypress at a time?
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index a3fb2fa..e90c501 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1270,7 +1270,7 @@ use a list comprehension::
A = [[None] * w for i in range(h)]
Or, you can use an extension that provides a matrix datatype; `NumPy
-<http://www.numpy.org/>`_ is the best known.
+<https://numpy.org/>`_ is the best known.
How do I apply a method to a sequence of objects?
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst
index 4969d24..ca09aee 100644
--- a/Doc/howto/unicode.rst
+++ b/Doc/howto/unicode.rst
@@ -517,7 +517,7 @@ References
Some good alternative discussions of Python's Unicode support are:
-* `Processing Text Files in Python 3 <http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html>`_, by Nick Coghlan.
+* `Processing Text Files in Python 3 <https://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html>`_, by Nick Coghlan.
* `Pragmatic Unicode <https://nedbatchelder.com/text/unipain.html>`_, a PyCon 2012 presentation by Ned Batchelder.
The :class:`str` type is described in the Python library reference at
diff --git a/Doc/library/bisect.rst b/Doc/library/bisect.rst
index 7856bf6..b85564f 100644
--- a/Doc/library/bisect.rst
+++ b/Doc/library/bisect.rst
@@ -127,7 +127,7 @@ thoughts in mind:
.. seealso::
* `Sorted Collections
- <http://www.grantjenks.com/docs/sortedcollections/>`_ is a high performance
+ <https://grantjenks.com/docs/sortedcollections/>`_ is a high performance
module that uses *bisect* to managed sorted collections of data.
* The `SortedCollection recipe
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index e7d3950..b7e8363 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -114,7 +114,7 @@ reset them before monitoring a calculation.
.. seealso::
* IBM's General Decimal Arithmetic Specification, `The General Decimal Arithmetic
- Specification <http://speleotrove.com/decimal/decarith.html>`_.
+ Specification <https://speleotrove.com/decimal/decarith.html>`_.
.. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst
index d74fc80..69751d5 100644
--- a/Doc/library/mailbox.rst
+++ b/Doc/library/mailbox.rst
@@ -614,7 +614,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
.. seealso::
- `nmh - Message Handling System <http://www.nongnu.org/nmh/>`_
+ `nmh - Message Handling System <https://www.nongnu.org/nmh/>`_
Home page of :program:`nmh`, an updated version of the original :program:`mh`.
`MH & nmh: Email for Users & Programmers <https://rand-mh.sourceforge.io/book/>`_
diff --git a/Doc/library/multiprocessing.shared_memory.rst b/Doc/library/multiprocessing.shared_memory.rst
index 127a82d..76046b3 100644
--- a/Doc/library/multiprocessing.shared_memory.rst
+++ b/Doc/library/multiprocessing.shared_memory.rst
@@ -125,7 +125,7 @@ instances::
The following example demonstrates a practical use of the :class:`SharedMemory`
-class with `NumPy arrays <https://www.numpy.org/>`_, accessing the
+class with `NumPy arrays <https://numpy.org/>`_, accessing the
same ``numpy.ndarray`` from two distinct Python shells:
.. doctest::
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index 41b0f48..79476b0 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -90,7 +90,7 @@ Comparison with ``json``
^^^^^^^^^^^^^^^^^^^^^^^^
There are fundamental differences between the pickle protocols and
-`JSON (JavaScript Object Notation) <http://json.org>`_:
+`JSON (JavaScript Object Notation) <https://json.org>`_:
* JSON is a text serialization format (it outputs unicode text, although
most of the time it is then encoded to ``utf-8``), while pickle is
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 0e95d9d..d86b9bd 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -566,14 +566,14 @@ Simulation of arrival times and service deliveries for a multiserver queue::
including simulation, sampling, shuffling, and cross-validation.
`Economics Simulation
- <http://nbviewer.jupyter.org/url/norvig.com/ipython/Economics.ipynb>`_
+ <https://nbviewer.jupyter.org/url/norvig.com/ipython/Economics.ipynb>`_
a simulation of a marketplace by
`Peter Norvig <http://norvig.com/bio.html>`_ that shows effective
use of many of the tools and distributions provided by this module
(gauss, uniform, sample, betavariate, choice, triangular, and randrange).
`A Concrete Introduction to Probability (using Python)
- <http://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_
+ <https://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_
a tutorial by `Peter Norvig <http://norvig.com/bio.html>`_ covering
the basics of probability theory, how to write simulations, and
how to perform data analysis using Python.
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index de84ab7..3581b37 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -478,7 +478,7 @@ becomes complicated.
Rather than having users constantly writing and debugging code to save
complicated data types to files, Python allows you to use the popular data
interchange format called `JSON (JavaScript Object Notation)
-<http://json.org>`_. The standard module called :mod:`json` can take Python
+<https://json.org>`_. The standard module called :mod:`json` can take Python
data hierarchies, and convert them to string representations; this process is
called :dfn:`serializing`. Reconstructing the data from the string representation
is called :dfn:`deserializing`. Between serializing and deserializing, the
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 3d0d187..5a3c103 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -217,7 +217,7 @@ the time required to finish the job.
During the 2.6 development cycle, Georg Brandl put a lot of effort
into building a new toolchain for processing the documentation. The
resulting package is called Sphinx, and is available from
-http://sphinx-doc.org/.
+https://www.sphinx-doc.org/.
Sphinx concentrates on HTML output, producing attractively styled and
modern HTML; printed output is still supported through conversion to
@@ -235,7 +235,7 @@ have adopted Sphinx as their documentation tool.
`Documenting Python <https://devguide.python.org/documenting/>`__
Describes how to write for Python's documentation.
- `Sphinx <http://sphinx-doc.org/>`__
+ `Sphinx <https://www.sphinx-doc.org/>`__
Documentation and code for the Sphinx toolchain.
`Docutils <https://docutils.sourceforge.io>`__
@@ -1926,7 +1926,7 @@ changes, or look through the Subversion logs for all the details.
the left to six places. (Contributed by Skip Montanaro; :issue:`1158`.)
* The :mod:`decimal` module was updated to version 1.66 of
- `the General Decimal Specification <http://speleotrove.com/decimal/decarith.html>`__. New features
+ `the General Decimal Specification <https://speleotrove.com/decimal/decarith.html>`__. New features
include some methods for some basic mathematical functions such as
:meth:`exp` and :meth:`log10`::
diff --git a/Doc/whatsnew/3.1.rst b/Doc/whatsnew/3.1.rst
index 6ce6358..fba8816 100644
--- a/Doc/whatsnew/3.1.rst
+++ b/Doc/whatsnew/3.1.rst
@@ -451,7 +451,7 @@ Major performance enhancements have been added:
* The :mod:`json` module now has a C extension to substantially improve
its performance. In addition, the API was modified so that json works
only with :class:`str`, not with :class:`bytes`. That change makes the
- module closely match the `JSON specification <http://json.org/>`_
+ module closely match the `JSON specification <https://json.org/>`_
which is defined in terms of Unicode.
(Contributed by Bob Ippolito and converted to Py3.1 by Antoine Pitrou