Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __repr__
Method
__repr__
Tools/cases_generator/parsing.py:77–81 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
75
class
Stmt:
76
77
def
__repr__(self) -> str:
78
io = StringIO()
79
out = CWriter(io, 0, False)
80
self.print(out)
81
return
io.getvalue()
82
83
def
print(self, out:CWriter) -> None:
84
raise
NotImplementedError
Callers
nothing calls this directly
Calls
4
print
Method · 0.95
getvalue
Method · 0.95
StringIO
Class · 0.90
CWriter
Class · 0.90
Tested by
no test coverage detected