Continuing indentation

Erik python at lucidity.plus.com
Thu Mar 3 21:24:58 EST 2016


On 04/03/16 01:23, INADA Naoki wrote:
>> Indeed. I don't understand why, when splitting a condition such as this,
>> people tend to put the operator at the end of each line.
>>
>>
> Because PEP8 says:
>
>> The preferred place to break around a binary operator is after the
> operator, not before it.

I mean in the general scheme of things, which is why I gave a C example
too ;)

Perhaps I am challenging the wisdom of of PEP8 ;)

E.



More information about the Python-list mailing list