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

Method write_repr

Tools/gdb/libpython.py:596–604  ·  view source on GitHub ↗
(self, out, visited)

Source from the content-addressed store, hash-verified

594 arg_proxy)
595
596 def write_repr(self, out, visited):
597 # Guard against infinite loops:
598 if self.as_address() in visited:
599 out.write('(...)')
600 return
601 visited.add(self.as_address())
602
603 out.write(self.safe_tp_name())
604 self.write_field_repr('args', out, visited)
605
606class PyClassObjectPtr(PyObjectPtr):
607 """

Callers

nothing calls this directly

Calls 5

write_field_reprMethod · 0.80
as_addressMethod · 0.45
writeMethod · 0.45
addMethod · 0.45
safe_tp_nameMethod · 0.45

Tested by

no test coverage detected