Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afcd5f3

Browse files
committed
Fix some minor typos in the importlib docs.
1 parent 2e3155e commit afcd5f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/importlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ are also provided to help in implementing the core ABCs.
238238

239239
A concrete implementation of
240240
:meth:`importlib.abc.InspectLoader.get_source`. Uses
241-
:meth:`importlib.abc.InspectLoader.get_data` and :meth:`source_path` to
241+
:meth:`importlib.abc.ResourceLoader.get_data` and :meth:`source_path` to
242242
get the source code. It tries to guess the source encoding using
243243
:func:`tokenize.detect_encoding`.
244244

@@ -253,7 +253,7 @@ are also provided to help in implementing the core ABCs.
253253

254254
An abstract method which returns the modification time for the source
255255
code of the specified module. The modification time should be an
256-
integer. If there is no source code, return :keyword:`None. If the
256+
integer. If there is no source code, return :keyword:`None`. If the
257257
module cannot be found then :exc:`ImportError` is raised.
258258

259259
.. method:: bytecode_path(fullname)

0 commit comments

Comments
 (0)