[docs] [issue14097] Improve the "introduction" page of the tutorial

Eli Bendersky report at bugs.python.org
Fri Feb 24 21:30:09 CET 2012


Eli Bendersky <eliben at gmail.com> added the comment:

Ezio, your fix for 8 is definitely good. Space makes it cleaner, as well as compliant to PEP 8, which explicitly recommends to surround operators with spaces.

Note, however, that this should be applied in other places as well, not only the complex number samples. For example:

2+2
(50-5*6)/4

etc.

There's quite a bit of inconsistency in the samples. Some surround operators with spaces and some don't. I think converging on a single consistent, PEP 8 compliant convention of surrounding with spaces always throughout the tutorial is a good idea.

----------

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


More information about the docs mailing list