[Python-Dev] [Python-checkins] cpython (3.3): Issue #17357: Use more stern wording for (original) (raw)

Brett Cannon brett at python.org
Sun Apr 28 05:23:16 CEST 2013


This actually should have been for issue #17330, but I had the wrong bug open when I copy-and-pasted the number.

On Sat, Apr 27, 2013 at 11:21 PM, brett.cannon <python-checkins at python.org> wrote:

http://hg.python.org/cpython/rev/75e32a0bfd74 changeset: 83525:75e32a0bfd74 branch: 3.3 parent: 83517:4b4ed1e11fd0 user: Brett Cannon <brett at python.org> date: Sat Apr 27 23:20:32 2013 -0400 summary: Issue #17357: Use more stern wording for importlib.invalidatecaches().

files: Doc/library/importlib.rst | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -103,9 +103,9 @@ Invalidate the internal caches of finders stored at :data:sys.metapath. If a finder implements invalidatecaches() 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 @@ .. versionadded:: 3.3 - .. method:: findloader(fullname): + .. method:: findloader(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 @@ the empty list then no loader or location for a namespace package were found (i.e. failure to find anything for the module). - .. method:: findmodule(fullname): + .. method:: findmodule(fullname) A concrete implementation of :meth:Finder.findmodule which is equivalent to self.findloader(fullname)[0]. -- Repository URL: http://hg.python.org/cpython


Python-checkins mailing list Python-checkins at python.org http://mail.python.org/mailman/listinfo/python-checkins



More information about the Python-Dev mailing list