diff options
author | Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com> | 2021-05-23 19:19:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 19:19:52 (GMT) |
commit | 8b9310d90281d4bd3643f4e0767b2d0390f0cb05 (patch) | |
tree | 918ee9d48e19bd80a5f9fb837518106c19d5f948 /Doc | |
parent | df7eeacd83f531dd67cec7bc483dec6dce17ddbd (diff) | |
download | cpython-8b9310d90281d4bd3643f4e0767b2d0390f0cb05.zip cpython-8b9310d90281d4bd3643f4e0767b2d0390f0cb05.tar.gz cpython-8b9310d90281d4bd3643f4e0767b2d0390f0cb05.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
Diffstat (limited to 'Doc')
-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. |