(cls, fullname)
| 117 | |
| 118 | @classmethod |
| 119 | def get_source(cls, fullname): |
| 120 | spec = cls.find_spec(fullname) |
| 121 | if spec: |
| 122 | return cls._get_source(spec) |
| 123 | else: |
| 124 | raise ImportError("cannot find source for module", name=fullname) |
| 125 | |
| 126 | @classmethod |
| 127 | def _get_source(cls, spec): |
nothing calls this directly
no test coverage detected