[Python-ideas] Idea for new multi-line triple quote literal

Nick Coghlan ncoghlan at gmail.com
Mon Jul 1 10:31:32 CEST 2013


On 1 July 2013 16:23, Markus Unterwaditzer <markus at unterwaditzer.net> wrote:
> Thanks for pointing it out, i have to admit that i didn't read the
documentation carefully, and yes, that indeed makes my example invalid, but
then there are still strings that have indentation on all lines, which
would be completely trunchated with dedent().

If you call a function or method that has the purpose of stripping common
leading whitespace, stripping common leading whitespace is hardly a
surprising outcome.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130701/bfdadbf1/attachment.html>


More information about the Python-ideas mailing list