I found that my fix doesn't actually fix the problem correctly (if there are multiple docstrings, everything in between gets highlighted).
I don't think there *is* a way of doing this correctly with the way that nano syntax highlighting works. ** Changed in: nano (Ubuntu) Status: Confirmed => Invalid -- Python syntax formatting doesn't pick up the start of a longstring (""" or ''') if directly followed by a new line https://bugs.launchpad.net/bugs/481051 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs