MCPcopy Create free account
hub / github.com/bpython/bpython / end_of_line

Function end_of_line

bpython/curtsiesfrontend/manual_readline.py:193–194  ·  view source on GitHub ↗
(cursor_offset, line)

Source from the content-addressed store, hash-verified

191@edit_keys.on(config="end_of_line_key")
192@edit_keys.on("<END>")
193def end_of_line(cursor_offset, line):
194 return len(line), line
195
196
197forward_word_re = LazyReCompile(r"\S\s")

Callers 1

test_end_of_lineMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_end_of_lineMethod · 0.72