]> granicus.if.org Git - python/commitdiff
Issue #20488: Update docs to say importlib is *the* implementaiton of
authorBrett Cannon <brett@python.org>
Thu, 6 Feb 2014 14:46:08 +0000 (09:46 -0500)
committerBrett Cannon <brett@python.org>
Thu, 6 Feb 2014 14:46:08 +0000 (09:46 -0500)
import and not *an* implementation.

Doc/library/importlib.rst
Misc/NEWS

index 92339dcd85c9edd4bdf03be8c86c8b358a428ba1..5f740a273258204bbef34ea5b77e6cba1583d309 100644 (file)
@@ -1,8 +1,8 @@
-:mod:`importlib` -- An implementation of :keyword:`import`
-==========================================================
+:mod:`importlib` -- The implementation of :keyword:`import`
+===========================================================
 
 .. module:: importlib
-   :synopsis: An implementation of the import machinery.
+   :synopsis: The implementation of the import machinery.
 
 .. moduleauthor:: Brett Cannon <brett@python.org>
 .. sectionauthor:: Brett Cannon <brett@python.org>
 Introduction
 ------------
 
-The purpose of the :mod:`importlib` package is two-fold. One is to provide an
+The purpose of the :mod:`importlib` package is two-fold. One is to provide the
 implementation of the :keyword:`import` statement (and thus, by extension, the
 :func:`__import__` function) in Python source code. This provides an
 implementation of :keyword:`import` which is portable to any Python
-interpreter. This also provides a reference implementation which is easier to
+interpreter. This also provides an implementation which is easier to
 comprehend than one implemented in a programming language other than Python.
 
 Two, the components to implement :keyword:`import` are exposed in this
 package, making it easier for users to create their own custom objects (known
 generically as an :term:`importer`) to participate in the import process.
-Details on custom importers can be found in :pep:`302`.
 
 .. seealso::
 
@@ -53,6 +52,9 @@ Details on custom importers can be found in :pep:`302`.
     :pep:`366`
         Main module explicit relative imports
 
+    :pep:`451`
+        A ModuleSpec Type for the Import System
+
     :pep:`3120`
         Using UTF-8 as the Default Source Encoding
 
index 59bc95d2695d74f6b84254da7f000e80ac629091..074b2dbda1ab35a02835312c40209c943ff9d675 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -379,6 +379,9 @@ Tests
 Documentation
 -------------
 
+- Issue #20488: Importlib is no longer *an* implementation of import, it's *the*
+  implementation.
+
 - Issue #20265: Updated some parts of the Using Windows document.
 
 - Issue #20266: Updated some parts of the Windows FAQ.