+1 for this method

self.some_insane_long_method_which_should_have_originator_shot(
    True,
    None,
    keyword = foobar)

:-)

On Tue, May 10, 2011 at 2:35 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
Mike Graham <mikegraham@gmail.com> writes:

> For this actual rule, I am -1, as I think this is too limiting.

And often results in hideous code :-)

I'm −1 also. Please don't make the indentation of continuation lines
dependent on the content of the opening line.

> Sometimes the indentation is too far and the best style is
>
>      self.other_thing.some_long_method_name(
>         foo,
>         barMightBeSortOfLongNaturally,
>         baz........

I assume you meant a four-column (not three-column) additional indent.

+1 if so, this matches the indentation style I advocate for continuation
lines.

--
 \       “I believe in making the world safe for our children, but not |
 `\    our children's children, because I don't think children should |
_o__)                                     be having sex.” —Jack Handey |
Ben Finney

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas



--


Steven M. Klass

☎ 1 (480) 225-1112
sklass@pointcircle.com