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

Method OnDoubleClick

Lib/idlelib/browser.py:232–238  ·  view source on GitHub ↗

Open module with file_open and position to lineno.

(self)

Source from the content-addressed store, hash-verified

230 for obj in transform_children(self.obj.children)]
231
232 def OnDoubleClick(self):
233 "Open module with file_open and position to lineno."
234 try:
235 edit = file_open(self.obj.file)
236 edit.gotoline(self.obj.lineno)
237 except (OSError, AttributeError):
238 pass
239
240
241def _module_browser(parent): # htest #

Callers

nothing calls this directly

Calls 1

gotolineMethod · 0.80

Tested by

no test coverage detected