Skip to content

Commit 779983e

Browse files
bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517) (#26322)
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 e7009f4 commit 779983e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/importlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ ABC hierarchy::
612612

613613
.. method:: is_package(fullname)
614614

615-
An abstract method to return a true value if the module is a package, a
615+
An optional method to return a true value if the module is a package, a
616616
false value otherwise. :exc:`ImportError` is raised if the
617617
:term:`loader` cannot find the module.
618618

0 commit comments

Comments
 (0)