aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorGlenn Morris2020-10-02 09:38:24 -0700
committerGlenn Morris2020-10-02 09:38:24 -0700
commit726eb835ddcbc209545f681d7272ebaa13788b33 (patch)
tree48a8efe3696f67cdd5c1258bf83b85d39ab949e9 /lisp/progmodes/python.el
parentbd080957b069e4ed0e31ce5f029a529432524f46 (diff)
parent78eacf31e8fe182801ad1943fac717b75fcf286b (diff)
downloademacs-726eb835ddcbc209545f681d7272ebaa13788b33.tar.gz
emacs-726eb835ddcbc209545f681d7272ebaa13788b33.zip
Merge from origin/emacs-27
78eacf31e8 ; Fix many typos in symbols in docs and comments d5d12707d6 * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug... # Conflicts: # lisp/allout.el # lisp/progmodes/ebrowse.el
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3121e5a079d..76baa4469c7 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2078,7 +2078,7 @@ virtualenv."
2078 :group 'python) 2078 :group 'python)
2079 2079
2080(defcustom python-shell-setup-codes nil 2080(defcustom python-shell-setup-codes nil
2081 "List of code run by `python-shell-send-setup-codes'." 2081 "List of code run by `python-shell-send-setup-code'."
2082 :type '(repeat symbol) 2082 :type '(repeat symbol)
2083 :group 'python) 2083 :group 'python)
2084 2084
@@ -2378,9 +2378,11 @@ regexps: `python-shell-prompt-regexp',
2378 2378
2379(defun python-shell-prompt-set-calculated-regexps () 2379(defun python-shell-prompt-set-calculated-regexps ()
2380 "Detect and set input and output prompt regexps. 2380 "Detect and set input and output prompt regexps.
2381Build and set the values for `python-shell-input-prompt-regexp' 2381Build and set the values for
2382and `python-shell-output-prompt-regexp' using the values from 2382`python-shell--prompt-calculated-input-regexp' and
2383`python-shell-prompt-regexp', `python-shell-prompt-block-regexp', 2383`python-shell--prompt-calculated-output-regexp' using the values
2384from `python-shell-prompt-regexp',
2385`python-shell-prompt-block-regexp',
2384`python-shell-prompt-pdb-regexp', 2386`python-shell-prompt-pdb-regexp',
2385`python-shell-prompt-output-regexp', 2387`python-shell-prompt-output-regexp',
2386`python-shell-prompt-input-regexps', 2388`python-shell-prompt-input-regexps',
@@ -2442,7 +2444,7 @@ of `python-shell-buffer-name'."
2442 2444
2443(defun python-shell-internal-get-process-name () 2445(defun python-shell-internal-get-process-name ()
2444 "Calculate the appropriate process name for Internal Python process. 2446 "Calculate the appropriate process name for Internal Python process.
2445The name is calculated from `python-shell-global-buffer-name' and 2447The name is calculated from `python-shell-buffer-name' and
2446the `buffer-name'." 2448the `buffer-name'."
2447 (format "%s[%s]" python-shell-internal-buffer-name (buffer-name))) 2449 (format "%s[%s]" python-shell-internal-buffer-name (buffer-name)))
2448 2450
@@ -4717,7 +4719,7 @@ customize how labels are formatted."
4717(defun python-imenu-create-flat-index (&optional alist prefix) 4719(defun python-imenu-create-flat-index (&optional alist prefix)
4718 "Return flat outline of the current Python buffer for Imenu. 4720 "Return flat outline of the current Python buffer for Imenu.
4719Optional argument ALIST is the tree to be flattened; when nil 4721Optional argument ALIST is the tree to be flattened; when nil
4720`python-imenu-build-index' is used with 4722`python-imenu-create-index' is used with
4721`python-imenu-format-parent-item-jump-label-function' 4723`python-imenu-format-parent-item-jump-label-function'
4722`python-imenu-format-parent-item-label-function' 4724`python-imenu-format-parent-item-label-function'
4723`python-imenu-format-item-label-function' set to 4725`python-imenu-format-item-label-function' set to