[docs] [issue16239] PEP8 arithmetic operator examples

Serhiy Storchaka report at bugs.python.org
Thu Oct 25 20:04:05 CEST 2012

Serhiy Storchaka added the comment:

> As I explained in my previous message, even if valid, these are IMHO less clear than x*2 - 1 and x*x + y*y.

I don't feel this.  Anyone else feel this?  It seems to me, this is a serious change in the Style Guide.

> It does indeed, but I think it's worth pointing out that misleading spacing should be avoided

I think this example shows that even without misleading such spacing is not good.  The destructiveness of misleading spacing is evident for all.


Python tracker <report at bugs.python.org>

More information about the docs mailing list