Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b39567a0
Commit
b39567a0
authored
May 25, 2013
by
Brett Cannon
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
8be90396
2cefb3cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Doc/library/importlib.rst
Doc/library/importlib.rst
+8
-3
No files found.
Doc/library/importlib.rst
View file @
b39567a0
...
@@ -256,6 +256,10 @@ ABC hierarchy::
...
@@ -256,6 +256,10 @@ ABC hierarchy::
The
path
to
where
the
module
data
is
stored
(
not
set
for
built
-
in
The
path
to
where
the
module
data
is
stored
(
not
set
for
built
-
in
modules
).
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__
`
-
:
attr
:`
__path__
`
A
list
of
strings
specifying
the
search
path
within
a
A
list
of
strings
specifying
the
search
path
within
a
package
.
This
attribute
is
not
set
on
modules
.
package
.
This
attribute
is
not
set
on
modules
.
...
@@ -456,7 +460,8 @@ ABC hierarchy::
...
@@ -456,7 +460,8 @@ ABC hierarchy::
automatically.
automatically.
When writing to the path fails because the path is read-only
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
.. versionchanged:: 3.4
No longer raises :exc:`NotImplementedError` when called.
No longer raises :exc:`NotImplementedError` when called.
...
@@ -595,8 +600,8 @@ find and load modules.
...
@@ -595,8 +600,8 @@ find and load modules.
specified by *fullname* on :data:`sys.path` or, if defined, on
specified by *fullname* on :data:`sys.path` or, if defined, on
*path*. For each path entry that is searched,
*path*. For each path entry that is searched,
:data:`sys.path_importer_cache` is checked. If a non-false object is
: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 modul
e
found then it is used as the :term:`
path entry finder` to look for th
e
being searched for. If no entry is found in
module
being searched for. If no entry is found in
:data:`sys.path_importer_cache`, then :data:`sys.path_hooks` is
: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
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
:data:`sys.path_importer_cache` along with being queried about the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment