MCPcopy Index your code
hub / github.com/python/cpython / __repr__

Method __repr__

Lib/importlib/_bootstrap.py:596–602  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

594 self._cached = None
595
596 def __repr__(self):
597 args = [f'name={self.name!r}', f'loader={self.loader!r}']
598 if self.origin is not None:
599 args.append(f'origin={self.origin!r}')
600 if self.submodule_search_locations is not None:
601 args.append(f'submodule_search_locations={self.submodule_search_locations}')
602 return f'{self.__class__.__name__}({", ".join(args)})'
603
604 def __eq__(self, other):
605 smsl = self.submodule_search_locations

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected