This is a development version (latest) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / completer / IPCompleter / _jedi_matches

function

IPython.core.completer:IPCompleter._jedi_matches

source: /IPython/core/completer.py:2523

Signature

def _jedi_matches(self, cursor_column: int, cursor_line: int, text: str) → Iterator[_JediCompletionLike]

Summary

Return a list of jedi.api.Completions object from a text and cursor position.

Parameters

cursor_column : int

column position of the cursor in text, 0-indexed.

cursor_line : int

line position of the cursor in text, 0-indexed

text : str

text to complete

Notes

If IPCompleter.debug is True may return a _FakeJediCompletion object containing a string with the Jedi debug information attached.

Aliases

  • IPython.core.completer.IPCompleter._jedi_matches