<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><strong>From: </strong>Augie Fackler <span dir="ltr"><<a href="mailto:raf@durin42.com">raf@durin42.com</a>></span><br><strong>Date: </strong>Wed, May 8, 2019 at 2:05 PM<br><strong>To: </strong>martinvonz<br><strong>Cc: </strong>Matt Harbison, Mercurial-devel, Gregory Szorc<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On May 8, 2019, at 16:53, martinvonz <<a href="mailto:martinvonz@google.com" target="_blank">martinvonz@google.com</a>> wrote:<br>
> <br>
>>  * one-tuples will get forced down to a single line, even if they started on multiple lines<br>
> <br>
> I don't know what this means. One-tuples are very rare anyway, so it probably doesn't matter much.<br>
<br>
If you write this:<br>
<br>
FOO = (<br>
    'bar',<br>
)<br>
<br>
black will make it be<br>
<br>
FOO = ('bar',)<br>
<br>
even though there's a trailing comma, because it's the one place where a trailing comma is required in Python. Does that make sense?<br></blockquote><div><br></div><div>The example makes sense, but why would we want a one-tuple on multiple lines?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
(list/set/dict literals won't be afflicted in this way, just tuples.)</blockquote></div></div>