Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_posix
Method · 0.95
format
Method · 0.45
Tested by
no test coverage detected