From: Brett Cannon Date: Mon, 20 Jul 2009 04:22:03 +0000 (+0000) Subject: Fix some minor typos in the importlib docs. X-Git-Tag: v3.1.1rc1~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afcd5f36f00d3a368004c574642175f623ce8ad4;p=thirdparty%2FPython%2Fcpython.git Fix some minor typos in the importlib docs. --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 7ae696d86b11..02eddcaafaa6 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)