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

Method sp_offset

Tools/cases_generator/stack.py:347–348  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

345 return self.physical_sp == self.logical_sp
346
347 def sp_offset(self) -> str:
348 return (self.physical_sp - self.logical_sp).to_c()
349
350 def as_comment(self) -> str:
351 variables = ", ".join([v.compact_str() for v in self.variables])

Callers 1

error_ifMethod · 0.80

Calls 1

to_cMethod · 0.80

Tested by

no test coverage detected