[docs] [issue16239] PEP8 arithmetic operator examples

Guido van Rossum report at bugs.python.org
Sun Oct 28 03:05:13 CET 2012


Guido van Rossum added the comment:

Corrected to:

  Yes::

      i = i + 1
      submitted += 1
      x = x*2 - 1
      hypot2 = x*x + y*y
      c = (a+b) * (a-b)

  No::

      i=i+1
      submitted +=1
      x = x * 2 - 1
      hypot2 = x * x + y * y
      c = (a + b) * (a - b)

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16239>
_______________________________________


More information about the docs mailing list