]> granicus.if.org Git - python/commitdiff
bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jul 2019 01:27:40 +0000 (18:27 -0700)
committerBarry Warsaw <barry@python.org>
Thu, 4 Jul 2019 01:27:40 +0000 (18:27 -0700)
* bpo-37459: importlib docs improperly reference get_resource_loader()
(cherry picked from commit b607d992e76e485f20be3bfd6b311525123f936b)

Co-authored-by: aldwinaldwin <aldwinaldwin@users.noreply.github.com>
Doc/library/importlib.rst

index 23831c75842f1f26555f1be24e4e656edc26fecf..df184b33d0e73243a846604a0dcf94590511af15 100644 (file)
@@ -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