Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write_repr
Method
write_repr
Tools/gdb/libpython.py:954–957 ·
view source on GitHub ↗
(self, out, visited)
Source
from the content-addressed store, hash-verified
952
return
result
953
954
def
write_repr(self, out, visited):
955
# Write this out as a Python int literal
956
proxy = self.proxyval(visited)
957
out.write(
"%s"
% proxy)
958
959
960
class
PyBoolObjectPtr(PyLongObjectPtr):
Callers
nothing calls this directly
Calls
2
proxyval
Method · 0.95
write
Method · 0.45
Tested by
no test coverage detected