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

Class DiffRatio

Tools/scripts/summarize_stats.py:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173
174class DiffRatio(Ratio):
175 def __init__(self, base: int | str, head: int | str):
176 if isinstance(base, str) or isinstance(head, str):
177 super().__init__(0, 0)
178 else:
179 super().__init__(head - base, base)
180
181
182class OpcodeStats:

Callers 1

join_rowMethod · 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…