summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-12-10 00:24:21 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-12-10 00:24:21 (GMT)
commit3e761a98026731d24f3e54cca2f96dc2cf5fa575 (patch)
treedac641ea5010182274b1973b07a434692f201cf3 /Doc
parentfee82f4f9cd5f2fbc720fe8c24363e50c57e5aee (diff)
downloadcpython-3e761a98026731d24f3e54cca2f96dc2cf5fa575.zip
cpython-3e761a98026731d24f3e54cca2f96dc2cf5fa575.tar.gz
cpython-3e761a98026731d24f3e54cca2f96dc2cf5fa575.tar.bz2
Wording clarification.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/importlib.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index d6bc8c5..71756e3 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -229,8 +229,9 @@ are also provided to help in implementing the core ABCs.
.. 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 @@ are also provided to help in implementing the core ABCs.
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)