Triple-quoted strings hath not the Python-nature
ldo at geek-central.gen.new_zealand
Mon Oct 27 00:11:34 CET 2008
In message <010fec39$0$20657$c3e8da3 at news.astraweb.com>, Steven D'Aprano
> I disagree. Triple-quoted strings are exactly the same as other strings:
> they capture *exactly* what you put in them ...
But that conflicts with the use of whitespace for indentation rules. Other
languages are freeform, and have strings that include whitespace as
In short, if whitespace is significant outside a string, then it shouldn't
be significant inside. And vice versa.
More information about the Python-list