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
56dfc212
Commit
56dfc212
authored
May 28, 2013
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo a recommendation as load_module() methods might be called directly
parent
3dc48d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
Doc/library/importlib.rst
Doc/library/importlib.rst
+1
-5
No files found.
Doc/library/importlib.rst
View file @
56dfc212
...
...
@@ -846,8 +846,6 @@ an :term:`importer`.
..
note
::
As
this
decorator
sets
:
attr
:`
__loader__
`
after
loading
the
module
,
it
is
recommended
to
use
:
func
:`
module_for_loader
`
instead
when
appropriate
.
This
decorator
is
also
redundant
as
of
Python
3.3
as
import
itself
will
set
these
attributes
post
-
import
if
necessary
.
..
versionchanged
::
3.4
Set
``
__loader__
``
if
set
to
``
None
``,
as
if
the
attribute
does
not
...
...
@@ -860,6 +858,4 @@ an :term:`importer`.
..
note
::
As
this
decorator
sets
:
attr
:`
__package__
`
after
loading
the
module
,
it
is
recommended
to
use
:
func
:`
module_for_loader
`
instead
when
appropriate
.
As
of
Python
3.3
this
decorator
is
also
redundant
as
import
will
set
:
attr
:`
__package__
`
post
-
import
if
necessary
.
recommended
to
use
:
func
:`
module_for_loader
`
instead
when
appropriate
.
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