From 6f752e183d13c13c3390ca1b6295aa8f2bf05761 Mon Sep 17 00:00:00 2001 From: aldwinaldwin Date: Thu, 4 Jul 2019 08:58:45 +0800 Subject: [PATCH] bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) * bpo-37459: importlib docs improperly reference get_resource_loader() (cherry picked from commit b607d992e76e485f20be3bfd6b311525123f936b) Co-authored-by: aldwinaldwin --- Doc/library/importlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 23831c75842f1f..df184b33d0e732 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy