Skip to content
Back to top
View this page
Edit this page

# xonsh.completers.python

Completers for Python code

xonsh.completers.python.attr_complete(*args, **kwargs)

xonsh.completers.python.complete_python(context: CompletionContext) → set[RichCompletion | str] | tuple[set[RichCompletion | str], int] | None

  Completes based on the contents of the current Python environment, the Python built-ins, and xonsh operators.

xonsh.completers.python.complete_xonsh_imp(context: CompletionContext) → set[RichCompletion | str] | tuple[set[RichCompletion | str], int] | None

  Completes module names for the inline xonsh importer (__xonsh__.imp.<module>).

xonsh.completers.python.python_signature_complete(*args, **kwargs)