Implement pyrepl completions, fixes #2069

This commit is contained in:
Dave Halter committed 2026-10-13 03:13:55 +02:00
1 parent 91206f4c65
commit 5d3295e0f9
3 files changed
+71 -14

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
"""
To use Jedi completion in Python interpreter, add the following in your shell
setup (e.g., ``.bashrc``). This works only on Linux/Mac, because readline is
not available on Windows. If you still want Jedi autocompletion in your REPL,
just use IPython instead::
setup (e.g., ``.bashrc``). Jedi configures the classic readline shell and
Python 3.13+'s new ``_pyrepl`` shell when those hooks are available.
You might also want to try IPython instead, which also uses Jedi::
export PYTHONSTARTUP="$(python -m jedi repl)"