aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 39efeaf9122..d4a213466f3 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -313,8 +313,8 @@
313 :link '(emacs-commentary-link "python")) 313 :link '(emacs-commentary-link "python"))
314 314
315(defcustom python-interpreter 315(defcustom python-interpreter
316 (cond ((executable-find "python3") "python3") 316 (cond ((executable-find "python") "python")
317 ((executable-find "python") "python") 317 ((executable-find "python3") "python3")
318 (t "python3")) 318 (t "python3"))
319 "Python interpreter for noninteractive use. 319 "Python interpreter for noninteractive use.
320Some Python interpreters also require changes to 320Some Python interpreters also require changes to
@@ -2739,8 +2739,8 @@ position, else returns nil."
2739 :safe 'stringp) 2739 :safe 'stringp)
2740 2740
2741(defcustom python-shell-interpreter 2741(defcustom python-shell-interpreter
2742 (cond ((executable-find "python3") "python3") 2742 (cond ((executable-find "python") "python")
2743 ((executable-find "python") "python") 2743 ((executable-find "python3") "python3")
2744 (t "python3")) 2744 (t "python3"))
2745 "Python interpreter for interactive use. 2745 "Python interpreter for interactive use.
2746 2746
@@ -2748,7 +2748,7 @@ Some Python interpreters also require changes to
2748`python-shell-interpreter-args'. In particular, setting 2748`python-shell-interpreter-args'. In particular, setting
2749`python-shell-interpreter' to \"ipython3\" requires setting 2749`python-shell-interpreter' to \"ipython3\" requires setting
2750`python-shell-interpreter-args' to \"--simple-prompt\"." 2750`python-shell-interpreter-args' to \"--simple-prompt\"."
2751 :version "28.1" 2751 :version "31.1"
2752 :type 'string) 2752 :type 'string)
2753 2753
2754(defcustom python-shell-internal-buffer-name "Python Internal" 2754(defcustom python-shell-internal-buffer-name "Python Internal"