xonsh.completers.python¶
Completers for Python code
- xonsh.completers.python.complete_python(context: CompletionContext) set[RichCompletion | str] | tuple[set[RichCompletion | str], int] | None[source]¶
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[source]¶
Completes module names for the inline xonsh importer (__xonsh__.imp.<module>).