[Python-checkins] r74109 - python/branches/release31-maint/Doc/library/importlib.rst
brett.cannon
python-checkins at python.org
Mon Jul 20 06:22:03 CEST 2009
Author: brett.cannon
Date: Mon Jul 20 06:22:03 2009
New Revision: 74109
Log:
Fix some minor typos in the importlib docs.
Modified:
python/branches/release31-maint/Doc/library/importlib.rst
Modified: python/branches/release31-maint/Doc/library/importlib.rst
==============================================================================
--- python/branches/release31-maint/Doc/library/importlib.rst (original)
+++ python/branches/release31-maint/Doc/library/importlib.rst Mon Jul 20 06:22:03 2009
@@ -238,7 +238,7 @@
A concrete implementation of
:meth:`importlib.abc.InspectLoader.get_source`. Uses
- :meth:`importlib.abc.InspectLoader.get_data` and :meth:`source_path` to
+ :meth:`importlib.abc.ResourceLoader.get_data` and :meth:`source_path` to
get the source code. It tries to guess the source encoding using
:func:`tokenize.detect_encoding`.
@@ -253,7 +253,7 @@
An abstract method which returns the modification time for the source
code of the specified module. The modification time should be an
- integer. If there is no source code, return :keyword:`None. If the
+ integer. If there is no source code, return :keyword:`None`. If the
module cannot be found then :exc:`ImportError` is raised.
.. method:: bytecode_path(fullname)
More information about the Python-checkins
mailing list