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

Class PyCodeArrayPtr

Tools/gdb/libpython.py:712–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710
711
712class PyCodeArrayPtr:
713 def __init__(self, gdbval):
714 self._gdbval = gdbval
715
716 def get_entry(self, index):
717 assert (index >= 0) and (index < self._gdbval["size"])
718 return self._gdbval["entries"][index]
719
720
721class PyCodeObjectPtr(PyObjectPtr):

Callers 1

_f_lastiMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…