Guido sees the light: PEP 8 updated
Tim Chase
python.list at tim.thechases.com
Tue Apr 19 09:50:28 EDT 2016
On 2016-04-19 23:41, Chris Angelico wrote:
> The only time I'll "wrap" that kind of comment is when it actually
> applies to both lines of code:
>
> width = bar * 3 + 2 # we have 3x2 bars, plus one...
> height = bar * 2 + 2 # ... pixel of margin on all sides
And even then in that exceptional case, I see that you do the same
thing I do: just append <space>, hash, space, comment. No fancy
aligning.
-tkc
More information about the Python-list
mailing list