1 """Stub file for the 'zipimport' module."""
\r
3 from typing import Optional
\r
4 from types import CodeType, ModuleType
\r
6 class ZipImportError(ImportError): ...
\r
8 class zipimporter(object):
\r
9 archive = ... # type: str
\r
10 prefix = ... # type: str
\r
11 def __init__(self, archivepath: str) -> None: ...
\r
12 def find_module(self, fullname: str, path: str = ...) -> Optional[zipimporter]: ...
\r
13 def get_code(self, fullname: str) -> CodeType: ...
\r
14 def get_data(self, pathname: str) -> str: ...
\r
15 def get_filename(self, fullname: str) -> str: ...
\r
16 def get_source(self, fullname: str) -> Optional[str]: ...
\r
17 def is_package(self, fullname: str) -> bool: ...
\r
18 def load_module(self, fullname: str) -> ModuleType: ...
\r