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