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.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 9aa5134ca0d..f79d9a47d31 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -640,10 +640,14 @@ The type returned can be `comment', `string' or `paren'."
640 ((python-rx string-delimiter) 640 ((python-rx string-delimiter)
641 (0 (ignore (python-syntax-stringify)))))) 641 (0 (ignore (python-syntax-stringify))))))
642 642
643(defconst python--prettify-symbols-alist 643(defvar python-prettify-symbols-alist
644 '(("lambda" . ?λ) 644 '(("lambda" . ?λ)
645 ("and" . ?∧) 645 ("and" . ?∧)
646 ("or" . ?∨))) 646 ("or" . ?∨))
647 "Value for `prettify-symbols-alist' in `python-mode'.")
648
649(define-obsolete-variable-alias 'python--prettify-symbols-alist
650 'python-prettify-symbols-alist "26.1")
647 651
648(defsubst python-syntax-count-quotes (quote-char &optional point limit) 652(defsubst python-syntax-count-quotes (quote-char &optional point limit)
649 "Count number of quotes around point (max is 3). 653 "Count number of quotes around point (max is 3).