Why """, not '''?

Matthew Woodcraft mattheww at chiark.greenend.org.uk
Wed Mar 5 14:19:08 EST 2008


<MartinRinehart at gmail.com> wrote:
> Why is """ the preferred delimiter for multi-line strings?

One advantage is that a dumb syntax highlighter is more likely to cope
well if the content includes an apostrophe.

-M-



More information about the Python-list mailing list