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

Method __repr__

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

Source from the content-addressed store, hash-verified

187 return self.__class__, tuple(self._raw_paths)
188
189 def __repr__(self):
190 return "{}({!r})".format(self.__class__.__name__, self.as_posix())
191
192 def __bytes__(self):
193 """Return the bytes representation of the path. This is only

Callers

nothing calls this directly

Calls 2

as_posixMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected