MCPcopy Create free account
hub / github.com/catboost/catboost / pyop_field

Method pyop_field

contrib/tools/cython/Cython/Debugger/libpython.py:217–222  ·  view source on GitHub ↗

Get a PyObjectPtr for the given PyObject* field within this PyObject, coping with some python 2 versus python 3 differences.

(self, name)

Source from the content-addressed store, hash-verified

215 return self._gdbval.dereference()[name]
216
217 def pyop_field(self, name):
218 '''
219 Get a PyObjectPtr for the given PyObject* field within this PyObject,
220 coping with some python 2 versus python 3 differences.
221 '''
222 return PyObjectPtr.from_pyobject_ptr(self.field(name))
223
224 def write_field_repr(self, name, out, visited):
225 '''

Callers 7

write_field_reprMethod · 0.95
proxyvalMethod · 0.80
proxyvalMethod · 0.80
addr2lineMethod · 0.80
__init__Method · 0.80
iter_globalsMethod · 0.80
iter_builtinsMethod · 0.80

Calls 2

fieldMethod · 0.95
from_pyobject_ptrMethod · 0.80

Tested by

no test coverage detected