[Python-checkins] bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517) (#26322)
ambv
webhook-mailer at python.org
Mon Jul 12 11:12:04 EDT 2021
https://github.com/python/cpython/commit/779983ed7f86610be4a7201deeffdcb8608977e0
commit: 779983ed7f86610be4a7201deeffdcb8608977e0
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-07-12T17:11:59+02:00
summary:
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 8b9310d90281d4bd3643f4e0767b2d0390f0cb05)
Co-authored-by: Junnosuke Kuroda <Isa-rentacs at users.noreply.github.com>
files:
M Doc/library/importlib.rst
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 736c43d96558c2..69e311298221c8 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -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.
More information about the Python-checkins
mailing list