Skip to content

Commit

Permalink
DOCS: Clarify emacs details wrt simple_prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
doolio committed Apr 17, 2024
1 parent c3dcfaa commit 55928ae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions IPython/terminal/interactiveshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,11 @@ class TerminalInteractiveShell(InteractiveShell):
simple_prompt = Bool(_use_simple_prompt,
help="""Use `raw_input` for the REPL, without completion and prompt colors.
Useful when controlling IPython as a subprocess, and piping STDIN/OUT/ERR. Known usage are:
IPython own testing machinery, and emacs inferior-python integration through elpy.
Useful when controlling IPython as a subprocess, and piping
STDIN/OUT/ERR. Known usage are: IPython's own testing machinery,
and emacs' inferior-python subprocess (assuming you have set
`python-shell-interpreter` to "ipython") available through the
built-in `M-x run-python` and third party packages such as elpy.
This mode default to `True` if the `IPY_TEST_SIMPLE_PROMPT`
environment variable is set, or the current terminal is not a tty.
Expand Down

0 comments on commit 55928ae

Please sign in to comment.