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 8b9310d902)

Co-authored-by: Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-05-23 12:37:16 -07:00 committed by GitHub
parent e394573c3c
commit 069bc4f5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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.