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

Method get_predecessors

Tools/scripts/summarize_stats.py:238–239  ·  view source on GitHub ↗
(self, opcode: str)

Source from the content-addressed store, hash-verified

236 return predecessors, successors
237
238 def get_predecessors(self, opcode: str) -> collections.Counter[str]:
239 return self._get_pred_succ()[0][opcode]
240
241 def get_successors(self, opcode: str) -> collections.Counter[str]:
242 return self._get_pred_succ()[1][opcode]

Callers 1

Calls 1

_get_pred_succMethod · 0.95

Tested by

no test coverage detected