allow line break at operators

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Aug 10 10:44:20 EDT 2011


Dan Sommers wrote:

> In terms of easier to read, I find code easier to read when the operators
> are at the beginnings of the lines (PEP 8 notwithstanding):
> 
>     x = (someobject.somemethod(object3, thing)
>          + longfunctionname(object2)
>          + otherfunction(value1, value2, value3))

Agreed.


-- 
Steven




More information about the Python-list mailing list