MCPcopy Index your code
hub / github.com/RustPython/RustPython / __repr__

Method __repr__

Lib/pathlib/__init__.py:187–188  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

185 return self.__class__, tuple(self._raw_paths)
186
187 def __repr__(self):
188 return "{}({!r})".format(self.__class__.__name__, self.as_posix())
189
190 def __fspath__(self):
191 return str(self)

Callers

nothing calls this directly

Calls 2

as_posixMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected