[issue10562] Change 'j' for imaginary unit into an 'i'
Boštjan Mejak
report at bugs.python.org
Fri Dec 3 00:54:07 CET 2010
Boštjan Mejak <bostjan.mejak at gmail.com> added the comment:
(7.8064-6j)
According to PEP 8, the output in our example should be with spaces
surrounding the subtraction operator, like this:
>>> (1 + 2.56j) * (-1 - 3.44j)
(7.8064 - 6j)
----------
Added file: http://bugs.python.org/file19914/unnamed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10562>
_______________________________________
-------------- next part --------------
<div>Why does the Python parser not follow PEP 8?</div><div>>>> (1 + 2.56j) * (-1 - 3.44j)</div><div>(7.8064-6j)</div><div><br></div><div>According to PEP 8, the output in our example should be with spaces surrounding the subtraction operator, like this:</div>
<div><div>>>> (1 + 2.56j) * (-1 - 3.44j)</div><div>(7.8064 - 6j)</div></div>
More information about the Python-bugs-list
mailing list