• Noam Postavsky's avatar
    Fix off by one error in python-mode assertion (Bug#30964) · 05345bab
    Noam Postavsky authored
    * lisp/progmodes/python.el (python-nav-end-of-statement): Don't assert
    that string-start is strictly greater than last-string-end, because
    the string end is a position outside of the string and may therefore
    be the same as the following string's start.
    * test/lisp/progmodes/python-tests.el (python-nav-end-of-statement-2):
    New test.
    05345bab
python.el 220 KB