summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-03-13 17:46:22 (GMT)
committerBrett Cannon <brett@python.org>2013-03-13 17:46:22 (GMT)
commit2514b4871f59687d72a684b09ebfe485b60b5422 (patch)
treee5b7c6726021fb150ea59506c14082c337dd02b7 /Doc/library/sys.rst
parent8c457d26b1f4423a9435e4f30c0756e362cf3a22 (diff)
downloadcpython-2514b4871f59687d72a684b09ebfe485b60b5422.zip
cpython-2514b4871f59687d72a684b09ebfe485b60b5422.tar.gz
cpython-2514b4871f59687d72a684b09ebfe485b60b5422.tar.bz2
Issue #17176: Document that imp.NullImporter is no longer inserted
into sys.path_importer_cache.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index f91a399..fb3ccee 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -785,12 +785,15 @@ always available.
A dictionary acting as a cache for :term:`finder` objects. The keys are
paths that have been passed to :data:`sys.path_hooks` and the values are
the finders that are found. If a path is a valid file system path but no
- explicit finder is found on :data:`sys.path_hooks` then ``None`` is
- stored to represent the implicit default finder should be used. If the path
- is not an existing path then :class:`imp.NullImporter` is set.
+ finder is found on :data:`sys.path_hooks` then ``None`` is
+ stored.
Originally specified in :pep:`302`.
+ .. versionchanged:: 3.3
+ ``None`` is stored instead of :class:`imp.NullImporter` when no finder
+ is found.
+
.. data:: platform