diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-15 14:28:48 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-15 14:28:48 (GMT) |
commit | 993fd9f03a43618679b9df81425c558575d68129 (patch) | |
tree | 4c225328db3492191c36fb84eafb6e8bce2bf6e8 /Doc/reference | |
parent | 8f2b6ad96f15f38593cc68eae2b85390a4bee400 (diff) | |
parent | e2cf03e499c64fc51a46356169642add4890f33e (diff) | |
download | cpython-993fd9f03a43618679b9df81425c558575d68129.zip cpython-993fd9f03a43618679b9df81425c558575d68129.tar.gz cpython-993fd9f03a43618679b9df81425c558575d68129.tar.bz2 |
Merge issue #16144: Fix misleading sentence in reference/import.
Patch by Manuel Pégourié-Gonnard
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/import.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 4688e78..fdecc76 100644 --- a/Doc/reference/import.rst +++ b/Doc/reference/import.rst @@ -44,9 +44,9 @@ described in the sections below. .. versionchanged:: 3.3 The import system has been updated to fully implement the second phase - of PEP 302. There is no longer any implicit import machinery - the full + of :pep:`302`. There is no longer any implicit import machinery - the full import system is exposed through :data:`sys.meta_path`. In addition, - native namespace package support has been implemented (see PEP 420). + native namespace package support has been implemented (see :pep:`420`). :mod:`importlib` @@ -219,9 +219,9 @@ whatever strategy it knows about. Objects that implement both of these interfaces are referred to as :term:`importers <importer>` - they return themselves when they find that they can load the requested module. -Python includes a number of default finders and importers. One -knows how to locate frozen modules, and another knows how to locate -built-in modules. A third default finder searches an :term:`import path` +Python includes a number of default finders and importers. The first one +knows how to locate built-in modules, and the second knows how to locate +frozen modules. A third default finder searches an :term:`import path` for modules. The :term:`import path` is a list of locations that may name file system paths or zip files. It can also be extended to search for any locatable resource, such as those identified by URLs. |