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

Method __frame2fileline

Lib/idlelib/debugger.py:310–314  ·  view source on GitHub ↗
(self, frame)

Source from the content-addressed store, hash-verified

308 self.flist.gotofileline(filename, lineno)
309
310 def __frame2fileline(self, frame):
311 code = frame.f_code
312 filename = code.co_filename
313 lineno = frame.f_lineno
314 return filename, lineno
315
316 def cont(self):
317 self.idb.set_continue()

Callers 1

sync_source_lineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected