[Python-checkins] bpo-37459: importlib docs improperly reference get_resource_loader() (#14568)
Barry Warsaw
webhook-mailer at python.org
Wed Jul 3 20:58:58 EDT 2019
https://github.com/python/cpython/commit/b607d992e76e485f20be3bfd6b311525123f936b
commit: b607d992e76e485f20be3bfd6b311525123f936b
branch: master
author: aldwinaldwin <aldwinaldwin at users.noreply.github.com>
committer: Barry Warsaw <barry at python.org>
date: 2019-07-03T17:58:45-07:00
summary:
bpo-37459: importlib docs improperly reference get_resource_loader() (#14568)
* bpo-37459: importlib docs improperly reference get_resource_loader()
files:
M Doc/library/importlib.rst
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 23831c75842f..df184b33d0e7 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -500,7 +500,7 @@ ABC hierarchy::
packages or a module).
Loaders that wish to support resource reading are expected to
- provide a method called ``get_resource_loader(fullname)`` which
+ provide a method called ``get_resource_reader(fullname)`` which
returns an object implementing this ABC's interface. If the module
specified by fullname is not a package, this method should return
:const:`None`. An object compatible with this ABC should only be
More information about the Python-checkins
mailing list