Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ back_word
Function
back_word
bpython/curtsiesfrontend/manual_readline.py:219–220 ·
view source on GitHub ↗
(cursor_offset, line)
Source
from the content-addressed store, hash-verified
217
@edit_keys.on(
"<Ctrl-LEFT>"
)
218
@edit_keys.on(
"<Esc+LEFT>"
)
219
def
back_word(cursor_offset, line):
220
return
(last_word_pos(line[:cursor_offset]), line)
221
222
223
@edit_keys.on(
"<DELETE>"
)
Callers
1
test_back_word
Method · 0.90
Calls
1
last_word_pos
Function · 0.85
Tested by
1
test_back_word
Method · 0.72