[Python-ideas] Minor tweak to PEP 8?
Steven Klass
sklass at pointcircle.com
Wed May 11 04:59:16 CEST 2011
+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 at benfinney.id.au>wrote:
> Mike Graham <mikegraham at 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 at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
--
Steven M. Klass
☎ 1 (480) 225-1112
✉ sklass at pointcircle.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110510/5960a37f/attachment.html>
More information about the Python-ideas
mailing list