Python Completer (xonsh.completers.python
)¶
Completers for Python code
-
xonsh.completers.python.
complete_import
(prefix, line, start, end, ctx)[source]¶ Completes module names and contents for “import …” and “from … import …”
-
xonsh.completers.python.
complete_python
(prefix, line, start, end, ctx)[source]¶ Completes based on the contents of the current Python environment, the Python built-ins, and xonsh operators. If there are no matches, split on common delimiters and try again.