]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 23 May 2021 19:37:16 +0000 (12:37 -0700)
committerGitHub <noreply@github.com>
Sun, 23 May 2021 19:37:16 +0000 (12:37 -0700)
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 <Isa-rentacs@users.noreply.github.com>
Doc/library/importlib.rst

index 50297e0d73e7c8beeb6df5cd19f6da49b1aa0f44..7172ef236ed86717341ce99c805f35927fc03be5 100644 (file)
@@ -622,7 +622,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.