MCPcopy 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

75class 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

printMethod · 0.95
getvalueMethod · 0.95
StringIOClass · 0.90
CWriterClass · 0.90

Tested by

no test coverage detected