(self, out, visited)
| 557 | return InstanceProxy(tp_name, attr_dict, int(self._gdbval)) |
| 558 | |
| 559 | def write_repr(self, out, visited): |
| 560 | # Guard against infinite loops: |
| 561 | if self.as_address() in visited: |
| 562 | out.write('<...>') |
| 563 | return |
| 564 | visited.add(self.as_address()) |
| 565 | |
| 566 | pyop_attrs = self.get_keys_values() |
| 567 | if not pyop_attrs: |
| 568 | pyop_attrs = self.get_attr_dict() |
| 569 | _write_instance_repr(out, visited, |
| 570 | self.safe_tp_name(), pyop_attrs, self.as_address()) |
| 571 | |
| 572 | class ProxyException(Exception): |
| 573 | def __init__(self, tp_name, args): |
nothing calls this directly
no test coverage detected