MCPcopy Index your code
hub / github.com/bpython/bpython / locate

Method locate

bpython/autocomplete.py:570–571  ·  view source on GitHub ↗
(self, cursor_offset: int, line: str)

Source from the content-addressed store, hash-verified

568 return matches if matches else None
569
570 def locate(self, cursor_offset: int, line: str) -> LinePart | None:
571 return lineparts.current_single_word(cursor_offset, line)
572
573
574class ParameterNameCompletion(BaseCompletionType):

Callers 1

matchesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected