mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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 8b9310d902)
Co-authored-by: Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com>
This commit is contained in:
parent
e7009f4f9a
commit
779983ed7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue