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

Method type

Tools/gdb/libpython.py:239–240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

237 return out.getvalue()
238
239 def type(self):
240 return PyTypeObjectPtr(self.field('ob_type'))
241
242 def is_null(self):
243 return 0 == int(self._gdbval)

Callers 6

safe_tp_nameMethod · 0.95
from_pyobject_ptrMethod · 0.95
get_attr_dictMethod · 0.45
get_keys_valuesMethod · 0.45
get_cached_keysMethod · 0.45
is_evalframeMethod · 0.45

Calls 2

fieldMethod · 0.95
PyTypeObjectPtrClass · 0.85

Tested by

no test coverage detected