summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-06 00:45:11 (GMT)
committerGitHub <noreply@github.com>2017-09-06 00:45:11 (GMT)
commit1b1329debc2ca0311af9a5e9a11709a000029bb7 (patch)
treea70d3938f6838f2b611cbfe931697927a79e44e1
parent9a3b3852afe61f9083d336c4394984d0e92799a3 (diff)
downloadcpython-1b1329debc2ca0311af9a5e9a11709a000029bb7.zip
cpython-1b1329debc2ca0311af9a5e9a11709a000029bb7.tar.gz
cpython-1b1329debc2ca0311af9a5e9a11709a000029bb7.tar.bz2
[3.6] link to legacy doc on the non-legacy website (GH-3362) (#3368)
(cherry picked from commit 60dbed18509f99af8eaa685d9736f954b8d621fb)
-rw-r--r--Doc/library/importlib.rst2
-rw-r--r--Doc/reference/import.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 1fd5698..6406e30 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -32,7 +32,7 @@ generically as an :term:`importer`) to participate in the import process.
:ref:`import`
The language reference for the :keyword:`import` statement.
- `Packages specification <http://legacy.python.org/doc/essays/packages.html>`__
+ `Packages specification <https://www.python.org/doc/essays/packages/>`__
Original specification of packages. Some semantics have changed since
the writing of this document (e.g. redirecting based on ``None``
in :data:`sys.modules`).
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index d504f37..8cf16ca 100644
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -965,7 +965,7 @@ References
The import machinery has evolved considerably since Python's early days. The
original `specification for packages
-<http://legacy.python.org/doc/essays/packages.html>`_ is still available to read,
+<https://www.python.org/doc/essays/packages/>`_ is still available to read,
although some details have changed since the writing of that document.
The original specification for :data:`sys.meta_path` was :pep:`302`, with