From beefbf1f0db68a2bc1fa122fe83a588bd59577f0 Mon Sep 17 00:00:00 2001 From: Junnosuke Kuroda Date: Sun, 23 May 2021 12:19:52 -0700 Subject: [PATCH] bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517) Making the description of `InspectLoader.is_package` aligned with the current implementation. Automerge-Triggered-By: GH:jaraco (cherry picked from commit 8b9310d90281d4bd3643f4e0767b2d0390f0cb05) Co-authored-by: Junnosuke Kuroda --- 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 61a81e02ff88fc..a266a8a5d40fcb 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -612,7 +612,7 @@ ABC hierarchy:: .. method:: is_package(fullname) - An abstract method to return a true value if the module is a package, a + An optional method to return a true value if the module is a package, a false value otherwise. :exc:`ImportError` is raised if the :term:`loader` cannot find the module.