<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body style="font-family: Arial, Myriad, 'Liberation Sans', sans-serif; font-size: 12pt;">
<div dir="auto">I have to admit, regardless of how practical this is, it would surely get rid of a ton of textwrap.dedent calls all over the place...</div><div dir="auto"><br></div>
<div id="aqm-original" style="font-family: sans-serif; font-size: 12pt; color: black;">
<!-- body start -->
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 8pt 0;">On March 31, 2018 9:50:43 AM Marius Räsener <m.raesener@gmail.com> wrote:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="ltr">Hey List,<div><br></div><div>this is my very first approach to suggest a Python improvement I'd think worth discussing.</div><div><br></div><div>At some point, maybe with Dart 2.0 or a little earlier, Dart is now supporting multiline strings with "proper" identation (tried, but I can't find the according docs at the moment. probably due to the rather large changes related to dart 2.0 and outdated docs.)</div><div><br></div><div>What I have in mind is probably best described with an Example:</div><div><br></div><div>print("""</div><div>    I am a</div><div>    multiline</div><div>    String.</div><div>    """)</div><div><br></div><div>the closing quote defines the "margin indentation" - so in this example all lines would get reduces by their leading 4 spaces, resulting in a "clean" and unintended string.</div><div><br></div><div>anyways, if dart or not, doesn't matter - I like the Idea and I think python3.x could benefit from it. If that's possible at all :)</div><div><br></div><div>I could also imagine that this "indentation cleanup" only is applied if the last quotes are on their own line? Might be too complicated though, I can't estimated or understand this...</div><div><br></div><div>thx for reading,</div><div>Marius</div><div><br></div></div>

_______________________________________________<br>
Python-ideas mailing list<br>
<a class="aqm-autolink aqm-autowrap" href="mailto:Python-ideas%40python.org">Python-ideas@python.org</a><br>
<a class="aqm-autolink aqm-autowrap" href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a class="aqm-autolink aqm-autowrap" href="http://python.org/psf/codeofconduct/">http://python.org/psf/codeofconduct/</a><br>
<br>
</blockquote>
</div>
</div>
<!-- body end -->

</div><div dir="auto"><br></div>
<div id="aqm-signature" style="font-size: 12pt; color: black;"><div dir="auto">--</div><div dir="auto">Ryan (ライアン)</div><div dir="auto">Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else</div><div dir="auto">https://refi64.com/</div></div><div dir="auto"><br></div></body>
</html>