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

Method matches

bpython/autocomplete.py:333–336  ·  view source on GitHub ↗
(
        self, cursor_offset: int, line: str, **kwargs: Any
    )

Source from the content-addressed store, hash-verified

331 self.module_gatherer = module_gatherer
332
333 def matches(
334 self, cursor_offset: int, line: str, **kwargs: Any
335 ) -> set[str] | None:
336 return self.module_gatherer.complete(cursor_offset, line)
337
338 def locate(self, cursor_offset: int, line: str) -> LinePart | None:
339 return lineparts.current_word(cursor_offset, line)

Callers

nothing calls this directly

Calls 1

completeMethod · 0.45

Tested by

no test coverage detected