is_package(fullname) -> bool. Return True if the module specified by fullname is a package. Raise ZipImportError if the module couldn't be found.
(self, fullname)
| 194 | |
| 195 | # Return a bool signifying whether the module is a package or not. |
| 196 | def is_package(self, fullname): |
| 197 | """is_package(fullname) -> bool. |
| 198 | |
| 199 | Return True if the module specified by fullname is a package. |
| 200 | Raise ZipImportError if the module couldn't be found. |
| 201 | """ |
| 202 | mi = _get_module_info(self, fullname) |
| 203 | if mi is None: |
| 204 | raise ZipImportError(f"can't find module {fullname!r}", name=fullname) |
| 205 | return mi |
| 206 | |
| 207 | |
| 208 | def get_resource_reader(self, fullname): |
no test coverage detected