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

Method pyop_field

Tools/gdb/libpython.py:210–214  ·  view source on GitHub ↗

Get a PyObjectPtr for the given PyObject* field within this PyObject.

(self, name)

Source from the content-addressed store, hash-verified

208 return self._gdbval.dereference()[name]
209
210 def pyop_field(self, name):
211 '''
212 Get a PyObjectPtr for the given PyObject* field within this PyObject.
213 '''
214 return PyObjectPtr.from_pyobject_ptr(self.field(name))
215
216 def write_field_repr(self, name, out, visited):
217 '''

Callers 5

write_field_reprMethod · 0.95
proxyvalMethod · 0.80
proxyvalMethod · 0.80
addr2lineMethod · 0.80
__init__Method · 0.80

Calls 2

fieldMethod · 0.95
from_pyobject_ptrMethod · 0.80

Tested by

no test coverage detected