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
ad876c70
Commit
ad876c70
authored
Mar 09, 2009
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify an assumption that importlib.abc.PyLoader makes when importing a
package and setting __path__.
parent
2a922ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/library/importlib.rst
Doc/library/importlib.rst
+4
-1
No files found.
Doc/library/importlib.rst
View file @
ad876c70
...
...
@@ -215,7 +215,10 @@ are also provided to help in implementing the core ABCs.
..
method
::
load_module
(
fullname
)
A
concrete
implementation
of
:
meth
:`
importlib
.
abc
.
Loader
.
load_module
`
that
loads
Python
source
code
.
that
loads
Python
source
code
.
All
needed
information
comes
from
the
abstract
methods
required
by
this
ABC
.
The
only
pertinent
assumption
made
by
this
method
is
that
when
loading
a
package
:
attr
:`
__path__
`
is
set
to
``[
os
.
path
.
dirname
(
__file__
)]``.
..
method
::
get_code
(
fullname
)
...
...
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