diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-05-23 19:37:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 19:37:16 (GMT) |
commit | 069bc4f5b45b28c7685d01c2b86659887f33f804 (patch) | |
tree | 8b224b59e4995ccd3c04bb378d8b64293ec1f982 | |
parent | e394573c3c75d0611c4eb3f6e0018576ff911494 (diff) | |
download | cpython-069bc4f5b45b28c7685d01c2b86659887f33f804.zip cpython-069bc4f5b45b28c7685d01c2b86659887f33f804.tar.gz cpython-069bc4f5b45b28c7685d01c2b86659887f33f804.tar.bz2 |
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 8b9310d90281d4bd3643f4e0767b2d0390f0cb05)
Co-authored-by: Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com>
-rw-r--r-- | Doc/library/importlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 50297e0..7172ef2 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. |