Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_name
Method · 0.95
from_pyobject_ptr
Method · 0.95
get_attr_dict
Method · 0.45
get_keys_values
Method · 0.45
get_cached_keys
Method · 0.45
is_evalframe
Method · 0.45
Calls
2
field
Method · 0.95
PyTypeObjectPtr
Class · 0.85
Tested by
no test coverage detected