summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-25 15:26:36 (GMT)
committerBrett Cannon <brett@python.org>2013-05-25 15:26:36 (GMT)
commitb39567a00e17122a3fd689e225c2b710ac96199b (patch)
treecec1020593944ef638106cab977c40572f8df685 /Doc/library/importlib.rst
parent8be90396f2a6b9896c7e383b28c2a3ce3a16baf2 (diff)
parent2cefb3cf964afa1f269509bba6e6fc664f3d5435 (diff)
downloadcpython-b39567a00e17122a3fd689e225c2b710ac96199b.zip
cpython-b39567a00e17122a3fd689e225c2b710ac96199b.tar.gz
cpython-b39567a00e17122a3fd689e225c2b710ac96199b.tar.bz2
merge
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r--Doc/library/importlib.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 9cb03be..c44a345 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -256,6 +256,10 @@ ABC hierarchy::
The path to where the module data is stored (not set for built-in
modules).
+ - :attr:`__cached__`
+ The path to where a compiled version of the module is/should be
+ stored (not set when the attribute would be inappropriate).
+
- :attr:`__path__`
A list of strings specifying the search path within a
package. This attribute is not set on modules.
@@ -456,7 +460,8 @@ ABC hierarchy::
automatically.
When writing to the path fails because the path is read-only
- (:attr:`errno.EACCES`), do not propagate the exception.
+ (:attr:`errno.EACCES`/:exc:`PermissionError`), do not propagate the
+ exception.
.. versionchanged:: 3.4
No longer raises :exc:`NotImplementedError` when called.
@@ -595,8 +600,8 @@ find and load modules.
specified by *fullname* on :data:`sys.path` or, if defined, on
*path*. For each path entry that is searched,
:data:`sys.path_importer_cache` is checked. If a non-false object is
- found then it is used as the :term:`finder` to look for the module
- being searched for. If no entry is found in
+ found then it is used as the :term:`path entry finder` to look for the
+ module being searched for. If no entry is found in
:data:`sys.path_importer_cache`, then :data:`sys.path_hooks` is
searched for a finder for the path entry and, if found, is stored in
:data:`sys.path_importer_cache` along with being queried about the