Why """, not '''?

MartinRinehart at gmail.com MartinRinehart at gmail.com
Wed Mar 5 11:40:15 EST 2008



D'Arcy J.M. Cain wrote:
> Where did you see that?  The only place I saw it was the style guide
> and it was only talking about docstrings.

PEP 8 and 257, and you're right, they are both about docstrings.

Also, I'd never seen an example of the triple apostrophe form until I
dove
into the formal syntax specification.



More information about the Python-list mailing list