Commit 6677aea9 authored by Brett Cannon's avatar Brett Cannon

Wording clarification.

parent dbd68f28
...@@ -229,8 +229,9 @@ are also provided to help in implementing the core ABCs. ...@@ -229,8 +229,9 @@ are also provided to help in implementing the core ABCs.
.. method:: source_path(fullname) .. method:: source_path(fullname)
An abstract method that returns the path to the source code for a 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 module. Should return :keyword:`None` if there is no source code.
raise :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) .. method:: get_filename(fullname)
...@@ -282,8 +283,8 @@ are also provided to help in implementing the core ABCs. ...@@ -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 An abstract method which returns the path to the bytecode for the
specified module, if it exists. It returns :keyword:`None` specified module, if it exists. It returns :keyword:`None`
if no bytecode exists (yet). if no bytecode exists (yet).
Raises :exc:`ImportError` if the module cannot be handled by the Raises :exc:`ImportError` if the loader knows it cannot handle the
loader. module.
.. method:: get_filename(fullname) .. method:: get_filename(fullname)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment