[Python-ideas] PEP8 operator must come before line break

Matthias welp boekewurm at gmail.com
Thu Apr 14 13:02:08 EDT 2016


> Where in PEP 8 does it violate its own advice

As the OP did not reply this fast, from the webpage (/dev/peps/pep-0008)

section indentation, just after 'Acceptable options in this situation
include, but are not limited to: '

# Add some extra indentation on the conditional continuation line.
if (this_is_one_thing
        and that_is_another_thing):
    do_something()

That is the only place I could find just now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160414/32123ac7/attachment.html>


More information about the Python-ideas mailing list