[Python-checkins] cpython (merge default -> default): Merge heads
andrew.svetlov
python-checkins at python.org
Thu Nov 15 15:30:59 CET 2012
http://hg.python.org/cpython/rev/3aa530c2db06
changeset: 80443:3aa530c2db06
parent: 80440:a81ae412174a
parent: 80442:9961a0dafcc7
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Thu Nov 15 16:30:30 2012 +0200
summary:
Merge heads
files:
Doc/reference/import.rst | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -44,9 +44,9 @@
.. 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 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list