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

Method show_source

Lib/idlelib/debugger.py:352–354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

350 self.fstack['height'] = 1
351
352 def show_source(self):
353 if self.vsource.get():
354 self.sync_source_line()
355
356 def show_frame(self, stackitem):
357 self.frame = stackitem[0] # lineno is stackitem[1]

Callers 1

test_show_sourceMethod · 0.45

Calls 2

sync_source_lineMethod · 0.95
getMethod · 0.45

Tested by 1

test_show_sourceMethod · 0.36