(cls, fullname, path=None, target=None)
| 102 | |
| 103 | @classmethod |
| 104 | def find_spec(cls, fullname, path=None, target=None): |
| 105 | path = fullname.replace(".", "/") |
| 106 | for zname, z in cls._packages.items(): |
| 107 | mi, fullpath = _get_module_info(z, path) |
| 108 | if mi is not None: |
| 109 | return _bootstrap.spec_from_loader( |
| 110 | fullname, cls, origin=f"zip:{zname}/{fullpath}", is_package=mi |
| 111 | ) |
| 112 | return None |
| 113 | |
| 114 | @classmethod |
| 115 | def create_module(cls, spec): |
no test coverage detected