summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-04 01:27:40 (GMT)
committerBarry Warsaw <barry@python.org>2019-07-04 01:27:40 (GMT)
commit070d3d928d20ccb4790dd077f3794af3c2932e5c (patch)
tree56eb720a677b6b1dcb2a9ce3cb3fa3a07e0397f7
parent1099e343e88ddfb46b84ba4ffc6ecc449b7f7891 (diff)
downloadcpython-070d3d928d20ccb4790dd077f3794af3c2932e5c.zip
cpython-070d3d928d20ccb4790dd077f3794af3c2932e5c.tar.gz
cpython-070d3d928d20ccb4790dd077f3794af3c2932e5c.tar.bz2
bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) (GH-14580)
* bpo-37459: importlib docs improperly reference get_resource_loader() (cherry picked from commit b607d992e76e485f20be3bfd6b311525123f936b) Co-authored-by: aldwinaldwin <aldwinaldwin@users.noreply.github.com>
-rw-r--r--Doc/library/importlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 23831c7..df184b3 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