Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bpython/bpython
/ _last_word
Function
_last_word
bpython/curtsiesfrontend/repl.py:2199–2201 ·
view source on GitHub ↗
(line: str)
Source
from the content-addressed store, hash-verified
2197
2198
2199
def
_last_word(line: str) -> str:
2200
split_line = line.split()
2201
return
split_line.pop()
if
split_line
else
""
2202
2203
2204
def
compress_paste_event(paste_event):
Callers
1
get_last_word
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected