Fix Python font lock of chained assignment statement
authorkobarity <kobarity@gmail.com>
Fri, 24 May 2024 13:50:12 +0000 (22:50 +0900)
committerEli Zaretskii <eliz@gnu.org>
Fri, 24 May 2024 14:53:34 +0000 (17:53 +0300)
commit3647645e94856344696768bef590b49a24c7ac52
tree783610e7ae81fc493a09a28f0e22f3208d39717e
parent3291dea441f25ca14619bebe493ffb694f53cf9d
Fix Python font lock of chained assignment statement

* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration): Allow chaining
of single assignment statements.
* test/lisp/progmodes/python-tests.el
(python-font-lock-assignment-statement-20): New test.
(Bug#71093)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el