[Python-checkins] bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517)
miss-islington
webhook-mailer at python.org
Sun May 23 15:19:56 EDT 2021
https://github.com/python/cpython/commit/8b9310d90281d4bd3643f4e0767b2d0390f0cb05
commit: 8b9310d90281d4bd3643f4e0767b2d0390f0cb05
branch: main
author: Junnosuke Kuroda <Isa-rentacs at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-05-23T12:19:52-07:00
summary:
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
files:
M Doc/library/importlib.rst
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 50297e0d73e7c..7172ef236ed86 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -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.
More information about the Python-checkins
mailing list