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

Method OnDoubleClick

Lib/idlelib/stackviewer.py:83–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 return sublist
82
83 def OnDoubleClick(self):
84 if self.flist:
85 frame, lineno = self.info
86 filename = frame.f_code.co_filename
87 if os.path.isfile(filename):
88 self.flist.gotofileline(filename, lineno)
89
90
91class VariablesTreeItem(ObjectTreeItem):

Callers

nothing calls this directly

Calls 2

gotofilelineMethod · 0.80
isfileMethod · 0.45

Tested by

no test coverage detected