[issue11071] What's New review comments

Georg Brandl report at bugs.python.org
Mon Jan 31 11:58:43 CET 2011


Georg Brandl <georg at python.org> added the comment:

I agree with Raymond: whoever puts in 95% of work for a single document should have artistic license over the style.

I also don't complain if people use a different indentation style in module docs they write (but I reserve the right to use mine if I edit these docs).

It is very nice having standards, but well, I hope you know about the hobgoblin :)

And particularly about keyword arg spacing, I found that it very much depends on the manner of arguments you're dealing with.  For dict()-style functions with lots of kwargs, it can really be much easier on the eyes to use space around the '=', or even use this style:

foo = dict(
    some_key        = some_value,
    some_longer_key = some_other_value,
)

even if PEP 8 doesn't approve of that either.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11071>
_______________________________________


More information about the Python-bugs-list mailing list