|Jan. 4th, 2011 04:52 pm Python doc10 comments - Leave a comment |
|Date:||January 5th, 2011 07:04 am (UTC)|| |
Python language spec pretty clearly spells out that -1 is not a negative constant (at least, not a negative constant literal, when specified in source code). It's positive constant with unary - (see quote).
Edited at 2011-01-05 07:05 am (UTC)