[Python-checkins] link to legacy doc on the non-legacy website (#3362)

Benjamin Peterson webhook-mailer at python.org
Tue Sep 5 19:24:43 EDT 2017


https://github.com/python/cpython/commit/60dbed18509f99af8eaa685d9736f954b8d621fb
commit: 60dbed18509f99af8eaa685d9736f954b8d621fb
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2017-09-05T16:24:39-07:00
summary:

link to legacy doc on the non-legacy website (#3362)

files:
M Doc/library/importlib.rst
M Doc/reference/import.rst

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 45a02e568e1..3a72648cbec 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 d504f373874..8cf16cad4c9 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



More information about the Python-checkins mailing list