Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bpython/bpython
/ LinePart
Class
LinePart
bpython/line.py:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
15
@dataclass
16
class
LinePart:
17
start: int
18
stop: int
19
word: str
20
21
22
_current_word_re = LazyReCompile(r
"(?<![)\]\w_.])"
r
"([\w_][\w0-9._]*[(]?)"
)
Callers
15
decode
Function · 0.90
test_decode
Method · 0.90
test_encode
Method · 0.90
dumb_func
Method · 0.90
test_locate_succeeds_when_in_string
Method · 0.90
test_update
Method · 0.90
test_cur_line
Method · 0.90
current_word
Function · 0.85
current_dict_key
Function · 0.85
current_dict
Function · 0.85
current_string
Function · 0.85
current_object
Function · 0.85
Calls
no outgoing calls
Tested by
7
decode
Function · 0.72
test_decode
Method · 0.72
test_encode
Method · 0.72
dumb_func
Method · 0.72
test_locate_succeeds_when_in_string
Method · 0.72
test_update
Method · 0.72
test_cur_line
Method · 0.72