MCPcopy 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
16class 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

decodeFunction · 0.90
test_decodeMethod · 0.90
test_encodeMethod · 0.90
dumb_funcMethod · 0.90
test_updateMethod · 0.90
test_cur_lineMethod · 0.90
current_wordFunction · 0.85
current_dict_keyFunction · 0.85
current_dictFunction · 0.85
current_stringFunction · 0.85
current_objectFunction · 0.85

Calls

no outgoing calls

Tested by 7

decodeFunction · 0.72
test_decodeMethod · 0.72
test_encodeMethod · 0.72
dumb_funcMethod · 0.72
test_updateMethod · 0.72
test_cur_lineMethod · 0.72