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

Function get_end_linenumber

Lib/idlelib/sidebar.py:21–23  ·  view source on GitHub ↗

Return the number of the last line in a Tk text widget.

(text)

Source from the content-addressed store, hash-verified

19
20
21def get_end_linenumber(text):
22 """Return the number of the last line in a Tk text widget."""
23 return get_lineno(text, 'end-1c')
24
25
26def get_displaylines(text, index):

Callers 6

test_mousewheelMethod · 0.90
test_copyMethod · 0.90
insertMethod · 0.85
deleteMethod · 0.85
init_widgetsMethod · 0.85

Calls 1

get_linenoFunction · 0.85

Tested by 3

test_mousewheelMethod · 0.72
test_copyMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…