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.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index c4d8b123a86..f355055806c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -706,7 +706,8 @@ avoid '==' being treated as an assignment."
706 ;; [a] = 5 706 ;; [a] = 5
707 ;; [*a] = 5, 6 707 ;; [*a] = 5, 6
708 (,(python-font-lock-assignment-matcher 708 (,(python-font-lock-assignment-matcher
709 (python-rx (or "[" "(") (* space) 709 (python-rx (or line-start ?\;) (* space)
710 (or "[" "(") (* space)
710 grouped-assignment-target (* space) 711 grouped-assignment-target (* space)
711 (or ")" "]") (* space) 712 (or ")" "]") (* space)
712 assignment-operator)) 713 assignment-operator))