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

Method gotofileline

Lib/idlelib/filelist.py:44–47  ·  view source on GitHub ↗
(self, filename, lineno=None)

Source from the content-addressed store, hash-verified

42 return None
43
44 def gotofileline(self, filename, lineno=None):
45 edit = self.open(filename)
46 if edit is not None and lineno is not None:
47 edit.gotoline(lineno)
48
49 def new(self, filename=None):
50 return self.EditorWindow(self, filename)

Callers 3

sync_source_lineMethod · 0.80
goto_file_lineMethod · 0.80
OnDoubleClickMethod · 0.80

Calls 2

openMethod · 0.95
gotolineMethod · 0.80

Tested by

no test coverage detected