get_filename(fullname) -> filename string. Return the filename for the specified module or raise ZipImportError if it couldn't be imported.
(self, fullname)
| 161 | |
| 162 | # Return a string matching __file__ for the named module |
| 163 | def get_filename(self, fullname): |
| 164 | """get_filename(fullname) -> filename string. |
| 165 | |
| 166 | Return the filename for the specified module or raise ZipImportError |
| 167 | if it couldn't be imported. |
| 168 | """ |
| 169 | # Deciding the filename requires working out where the code |
| 170 | # would come from if the module was actually loaded |
| 171 | code, ispackage, modpath = _get_module_code(self, fullname) |
| 172 | return modpath |
| 173 | |
| 174 | |
| 175 | def get_source(self, fullname): |
no test coverage detected