[Python-Dev] A Horrible Inconsistency

Fredrik Lundh fredrik at pythonware.com
Thu May 25 22:59:50 CEST 2006


 >>> -1 * (1, 2, 3)
()
 >>> -(1, 2, 3)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
TypeError: bad operand type for unary -
We Really Need To Fix This!
[\F]


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /