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

Method get_successors

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

Source from the content-addressed store, hash-verified

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]
243
244 def _get_stats_for_opcode(self, opcode: str) -> dict[str, int]:
245 return self._data[opcode]

Callers 1

Calls 1

_get_pred_succMethod · 0.95

Tested by

no test coverage detected