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
04405716
Commit
04405716
authored
Apr 27, 2013
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17357: Use more stern wording for
importlib.invalidate_caches().
parent
e6806b2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/library/importlib.rst
Doc/library/importlib.rst
+5
-5
No files found.
Doc/library/importlib.rst
View file @
04405716
...
...
@@ -103,9 +103,9 @@ Functions
Invalidate the internal caches of finders stored at
:data:`sys.meta_path`. If a finder implements ``invalidate_caches()`` then it
will be called to perform the invalidation. This function
may be needed if
some modules are installed while your program is running and you expect the
program to notice the changes
.
will be called to perform the invalidation. This function
should be called
if any modules are created/installed while your program is running to
guarantee all finders will notice the new module'
s
existence
.
..
versionadded
::
3.3
...
...
@@ -182,7 +182,7 @@ ABC hierarchy::
..
versionadded
::
3.3
.. method:: find_loader(fullname)
:
..
method
::
find_loader
(
fullname
)
An
abstract
method
for
finding
a
:
term
:`
loader
`
for
the
specified
module
.
Returns
a
2
-
tuple
of
``(
loader
,
portion
)``
where
``
portion
``
...
...
@@ -194,7 +194,7 @@ ABC hierarchy::
the
empty
list
then
no
loader
or
location
for
a
namespace
package
were
found
(
i
.
e
.
failure
to
find
anything
for
the
module
).
.. method:: find_module(fullname)
:
..
method
::
find_module
(
fullname
)
A
concrete
implementation
of
:
meth
:`
Finder
.
find_module
`
which
is
equivalent
to
``
self
.
find_loader
(
fullname
)[
0
]``.
...
...
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