Skip to content

Commit 069bc4f

Browse files
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 8b9310d) Co-authored-by: Junnosuke Kuroda <[email protected]>
1 parent e394573 commit 069bc4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/importlib.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ ABC hierarchy::
622622

623623
.. method:: is_package(fullname)
624624

625-
An abstract method to return a true value if the module is a package, a
625+
An optional method to return a true value if the module is a package, a
626626
false value otherwise. :exc:`ImportError` is raised if the
627627
:term:`loader` cannot find the module.
628628

0 commit comments

Comments
 (0)