changeset 57626:0a76ab3a673c

Wording clarification.
author Brett Cannon <bcannon@gmail.com>
date Thu, 10 Dec 2009 00:24:21 +0000
parents 738b39b12dc8
children 816303a07762
files Doc/library/importlib.rst
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Doc/library/importlib.rst	Wed Dec 09 01:48:31 2009 +0000
+++ b/Doc/library/importlib.rst	Thu Dec 10 00:24:21 2009 +0000
@@ -229,8 +229,9 @@
     .. method:: source_path(fullname)
 
         An abstract method that returns the path to the source code for a
-        module. Should return :keyword:`None` if there is no source code or
-        raise :exc:`ImportError` if the module cannot be handled by the loader.
+        module. Should return :keyword:`None` if there is no source code.
+        Raises :exc:`ImportError` if the loader knows it cannot handle the
+        module.
 
     .. method:: get_filename(fullname)
 
@@ -282,8 +283,8 @@
         An abstract method which returns the path to the bytecode for the
         specified module, if it exists. It returns :keyword:`None`
         if no bytecode exists (yet).
-        Raises :exc:`ImportError` if the module cannot be handled by the
-        loader.
+        Raises :exc:`ImportError` if the loader knows it cannot handle the
+        module.
 
     .. method:: get_filename(fullname)