PEP8, line continuations and string formatting operations
Carl Banks
pavlovevidence at gmail.com
Fri Jan 21 18:39:31 EST 2011
On Jan 21, 11:53 am, Gerald Britton <gerald.brit... at gmail.com> wrote:
> So....what's the general feeling about this? Adhere to the PEP 8
> binary operators style, or modify it for string formatting?
Well, personally I ignore the "operator at end of first line"
guideline altogether; I think it's much more readable with the
operator on the following line, not even close.
I'm starting to not fold lines with parentheses as much, either.
Sometimes the parentheses break the flow too much, or suggest grouping
where it isn't desirable.
Carl Banks
More information about the Python-list
mailing list