Fix syntax highlighting after string literal concat in python-mode
authorJakub Ječmínek <jecminek.k@gmail.com>
Fri, 19 Jan 2024 15:38:21 +0000 (16:38 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Jan 2024 10:05:48 +0000 (12:05 +0200)
commit09cdf8a406c5b73e8924a7396c2aaabe74a1a638
treed90ed6d61f7a1af203e4fe096b1cfe75dafd931c
parentf0c573d8069f7ee654a550ae3d148325c49900a3
Fix syntax highlighting after string literal concat in python-mode

* lisp/progmodes/python.el (python-syntax-stringify): Fix
incorrect font-lock after string literal concatenation.
(Bug#45897)

* test/lisp/progmodes/python-tests.el
(python-font-lock-string-literal-concatenation): New test.

Co-authored-by: kobarity <kobarity@gmail.com>
Copyright-paperwork-exempt: yes
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el