Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ getlineno
Method
getlineno
Lib/idlelib/editor.py:1063–1065 ·
view source on GitHub ↗
(self, mark="insert")
Source
from the content-addressed store, hash-verified
1061
return
top, bot
1062
1063
def
getlineno(self, mark=
"insert"
):
1064
text = self.text
1065
return
int(float(text.index(mark)))
1066
1067
def
get_geometry(self):
1068
"Return (width, height, x, y)"
Callers
4
handle_yview
Method · 0.95
center
Method · 0.95
getwindowlines
Method · 0.95
update_code_context
Method · 0.45
Calls
1
index
Method · 0.45
Tested by
no test coverage detected