Variable: python-shell-prompt-input-regexps
python-shell-prompt-input-regexps is a customizable variable defined
in python.el.gz.
Value
(">>> " "\\.\\.\\. " "In \\[[0-9]+\\]: " " \\.\\.\\.: " "In : "
"\\.\\.\\.: ")
Documentation
List of regular expressions matching input prompts.
This variable was added, or its default value changed, in Emacs 24.4.
Probably introduced at or before Emacs version 24.4.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defcustom python-shell-prompt-input-regexps
'(">>> " "\\.\\.\\. " ; Python
"In \\[[0-9]+\\]: " ; IPython
" \\.\\.\\.: " ; IPython
;; Using ipdb outside IPython may fail to cleanup and leave static
;; IPython prompts activated, this adds some safeguard for that.
"In : " "\\.\\.\\.: ")
"List of regular expressions matching input prompts."
:type '(repeat regexp)
:version "24.4")