]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix two typos in comments in python.el
authorkobarity <kobarity@gmail.com>
Sun, 22 May 2022 11:26:34 +0000 (13:26 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 22 May 2022 11:26:34 +0000 (13:26 +0200)
* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration): Fix typos in
comments (bug#55557).

lisp/progmodes/python.el

index 94297d4ea5b3c6b06f6135846b227b326ba3e2b5..c1368364a975130b513be582501fc979c834bacf 100644 (file)
@@ -678,7 +678,7 @@ sign in chained assignment."
     ;; and variants thereof
     ;; the cases
     ;;   (a) = 5
-    ;;   [a] = 5
+    ;;   [a] = 5,
     ;;   [*a] = 5, 6
     ;; are handled separately below
     (,(python-font-lock-assignment-matcher
@@ -708,7 +708,7 @@ sign in chained assignment."
      (1 font-lock-variable-name-face))
     ;; special cases
     ;;   (a) = 5
-    ;;   [a] = 5
+    ;;   [a] = 5,
     ;;   [*a] = 5, 6
     (,(python-font-lock-assignment-matcher
        (python-rx (or line-start ?\; ?=) (* space)