Message202687
PEP 8 currently has::
Yes::
...
c = (a+b) * (a-b)
No::
...
c = (a + b) * (a - b)
That looks wrong to me -- surely the parens are a sufficient
precedence hint, and don't need further squashing inside?
This will be worse with any non-trivial example. I suspect
it may also lead to silly complications in code formatting tools.
This was changed by Guido as part of a reversion in issue 16239,
but I wonder whether that example was intended to be included? |
|
Date |
User |
Action |
Args |
2013-11-12 13:33:52 | tlynn | set | recipients:
+ tlynn, docs@python |
2013-11-12 13:33:52 | tlynn | set | messageid: <1384263232.23.0.922688589796.issue19560@psf.upfronthosting.co.za> |
2013-11-12 13:33:52 | tlynn | link | issue19560 messages |
2013-11-12 13:33:51 | tlynn | create | |
|