summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-07-20 04:22:03 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-07-20 04:22:03 (GMT)
commitafcd5f36f00d3a368004c574642175f623ce8ad4 (patch)
tree77b19255dae1cbb91d3c290dc4dc97438d7c54fc /Doc/library/importlib.rst
parent2e3155e2fe387cba93a6bd6a5e4a6d06a49c6a98 (diff)
downloadcpython-afcd5f36f00d3a368004c574642175f623ce8ad4.zip
cpython-afcd5f36f00d3a368004c574642175f623ce8ad4.tar.gz
cpython-afcd5f36f00d3a368004c574642175f623ce8ad4.tar.bz2
Fix some minor typos in the importlib docs.
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r--Doc/library/importlib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 7ae696d..02eddca 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -238,7 +238,7 @@ are also provided to help in implementing the core ABCs.
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 @@ are also provided to help in implementing the core ABCs.
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)