MCPcopy Index your code
hub / github.com/ipython/ipython / _jedi_matcher

Method _jedi_matcher

IPython/core/completer.py:2486–2497  ·  view source on GitHub ↗
(self, context: CompletionContext)

Source from the content-addressed store, hash-verified

2484
2485 @context_matcher(identifier="IPCompleter.jedi_matcher")
2486 def _jedi_matcher(self, context: CompletionContext) -> _JediMatcherResult:
2487 matches = self._jedi_matches(
2488 cursor_column=context.cursor_position,
2489 cursor_line=context.cursor_line,
2490 text=context.full_text,
2491 )
2492 return {
2493 "completions": matches,
2494 # static analysis should not suppress other matcher
2495 # NOTE: file_matcher is automatically suppressed on attribute completions
2496 "suppress": False,
2497 }
2498
2499 def _jedi_matches(
2500 self, cursor_column: int, cursor_line: int, text: str

Callers

nothing calls this directly

Calls 1

_jedi_matchesMethod · 0.95

Tested by

no test coverage detected