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

Method proxyval

Tools/gdb/libpython.py:587–594  ·  view source on GitHub ↗
(self, visited)

Source from the content-addressed store, hash-verified

585 _typename = 'PyBaseExceptionObject'
586
587 def proxyval(self, visited):
588 # Guard against infinite loops:
589 if self.as_address() in visited:
590 return ProxyAlreadyVisited('(...)')
591 visited.add(self.as_address())
592 arg_proxy = self.pyop_field('args').proxyval(visited)
593 return ProxyException(self.safe_tp_name(),
594 arg_proxy)
595
596 def write_repr(self, out, visited):
597 # Guard against infinite loops:

Callers

nothing calls this directly

Calls 7

ProxyAlreadyVisitedClass · 0.85
ProxyExceptionClass · 0.85
pyop_fieldMethod · 0.80
as_addressMethod · 0.45
addMethod · 0.45
proxyvalMethod · 0.45
safe_tp_nameMethod · 0.45

Tested by

no test coverage detected