pylint woes

DFS nospam at dfs.com
Sun May 8 17:46:28 EDT 2016


On 5/8/2016 5:38 PM, Stephen Hansen wrote:
> On Sun, May 8, 2016, at 02:16 PM, DFS wrote:
>> I was surprised to see the PEP8 guide approve of:
>>
>> "Yes: if x == 4: print x, y; x, y = y, x"
>>
>> https://www.python.org/dev/peps/pep-0008/#pet-peeves
>
> That is not approving of that line of code as something to mimic, its
> speaking *only* about *whitespace*.
>
> ALL its saying is, "don't put spaces before commas, colons or
> semicolons". You can infer nothing else about it.


I can infer that it's 100% approved of, since he used it as an example.







More information about the Python-list mailing list