+1 for this method<div><br></div><div>self.some_insane_long_method_which_should_have_originator_shot(</div><div> True,</div><div> None,</div><div> keyword = foobar)</div><div><br></div><div>:-)<br><br><div class="gmail_quote">
On Tue, May 10, 2011 at 2:35 PM, Ben Finney <span dir="ltr"><<a href="mailto:ben%2Bpython@benfinney.id.au">ben+python@benfinney.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Mike Graham <<a href="mailto:mikegraham@gmail.com">mikegraham@gmail.com</a>> writes:<br>
<br>
> For this actual rule, I am -1, as I think this is too limiting.<br>
<br>
</div>And often results in hideous code :-)<br>
<br>
I'm −1 also. Please don't make the indentation of continuation lines<br>
dependent on the content of the opening line.<br>
<div class="im"><br>
> Sometimes the indentation is too far and the best style is<br>
><br>
> self.other_thing.some_long_method_name(<br>
> foo,<br>
> barMightBeSortOfLongNaturally,<br>
> baz........<br>
<br>
</div>I assume you meant a four-column (not three-column) additional indent.<br>
<br>
+1 if so, this matches the indentation style I advocate for continuation<br>
lines.<br>
<br>
--<br>
\ “I believe in making the world safe for our children, but not |<br>
`\ our children's children, because I don't think children should |<br>
_o__) be having sex.” —Jack Handey |<br>
<font color="#888888">Ben Finney<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><br>Steven M. Klass<br><br>☎ 1 (480) 225-1112<br>✉ <a href="mailto:sklass@pointcircle.com" target="_blank">sklass@pointcircle.com</a><br>
</div>